How rahul-projects/sequence-puzzle works
Sequence Puzzle is a browser-based pattern game: a player selects a level, solves its sequence puzzles, receives feedback, and progresses. The sampled JavaScript shows level data, screen updates, answer checking, and Web Audio feedback. A service worker caches the app’s assets for offline use. The HTML, CSS, and manifest are present in the tree, but their contents were not sampled, so their wiring is not asserted.
Main entry points: script.js Game controller · sw.js Offline worker
Components 9
Puzzle gameplay
- Game controller
pattern-puzzle-game/script.js - Level puzzles
pattern-puzzle-game/script.js - Web Audio
Web app
- Game shell
pattern-puzzle-game/index.html - Game styling
pattern-puzzle-game/style.css - App manifest
pattern-puzzle-game/manifest.json - Offline worker
pattern-puzzle-game/sw.js
Other components
- Player
- Browser cache
Connections 4
- Player → Game controller: plays
pattern-puzzle-game/script.js - Game controller → Level puzzles: reads puzzles
pattern-puzzle-game/script.js - Game controller → Web Audio: plays feedback
pattern-puzzle-game/script.js - Offline worker → Browser cache: caches assets
pattern-puzzle-game/sw.js