How kiwil-rizqi/safina works
Misi: Uang Pintar is a browser-based financial-literacy storybook with interactive lessons and activities. The main learner workflow is to navigate the flipbook, engage with money-management activities, and build rewards and progress. The sampled code also shows custom SVG artwork, browser-local progress storage, and synthesized sound effects. The entry page and some wiring were not excerpted, so the initiating interaction is shown as unverified; edges otherwise reflect calls or browser API use visible in the excerpts.
Main entry points: sound.js Sound Effects · flipbook.js Flipbook Engine · games.js Interactive Lessons · illustrations.js SVG Illustrations
Components 10
Storybook
- Flipbook Engine
js/flipbook.js - SVG Illustrations
js/illustrations.js
Learning Activities
- Interactive Lessons
js/games.js - Money Games
js/games.js - Quiz and Missions
js/games.js
Feedback and State
- Progress and Rewards
js/games.js - Browser Storage
- Sound Effects
js/sound.js
Other components
- Learner
- Web Audio API
Connections 7
- Learner → Flipbook Engine: navigates
- Flipbook Engine → SVG Illustrations: renders
js/flipbook.js - Interactive Lessons → Sound Effects: plays effects
js/games.js - Money Games → Sound Effects: plays effects
js/games.js - Quiz and Missions → Sound Effects: plays effects
js/games.js - Progress and Rewards → Browser Storage: reads and writes
js/games.js - Sound Effects → Web Audio API: synthesizes audio
js/sound.js