How fauzi-1110/game-urut-angka works
Game Urut Angka is a browser number-sequencing game: the player selects numbers in order from a randomized 1–25 grid before the timer expires. The JavaScript runtime creates the grid, validates selections, updates score and visual feedback, and handles completion or timeout prompts and replay. The README also identifies a tutorial dialog and grid styling. HTML and CSS source were not sampled, so their specific wiring and layout details are not represented.
Main entry points: index.html Number grid · script.js Sequence validation · style.css Grid styling
Components 14
Game interface
- Game page
index.html - Number grid
index.html - Score display
index.html - Timer display
index.html - Tutorial dialog
index.html - Grid styling
style.css
Game runtime
- Game runtime
script.js - Random grid generation
script.js - Sequence validation
script.js - Score tracking
script.js - Answer feedback
script.js - Countdown timer
script.js
Browser interactions
- Browser prompts
script.js
Other components
- Player
Connections 18
- Game runtime → Tutorial dialog: opens
- Game runtime → Random grid generation: creates
- Random grid generation → Number grid: adds buttons
- Player → Number grid: selects number
- Number grid → Sequence validation: click calls
- Sequence validation → Answer feedback: colors button
- Sequence validation → Score tracking: records correct
- Score tracking → Score display: updates
- Game runtime → Countdown timer: starts
- Countdown timer → Timer display: updates
- Sequence validation → Browser prompts: prompts on completion
- Countdown timer → Browser prompts: prompts on timeout
- Browser prompts → Player: asks to replay
- Grid styling → Number grid: styles
- Game page → Number grid: contains
- Game page → Score display: contains
- Game page → Timer display: contains
- Game page → Tutorial dialog: contains