How c0der8627/flipzy works
This is a browser-based memory matching game. The player selects a level, flips cards to find matching pairs, and advances when all pairs are matched; progress is saved between visits. The JavaScript coordinates level selection, board generation, turn and match handling, and completion. The tree also includes the page shell, styling, and an assets directory. The README is empty, and HTML, CSS, and asset contents were not sampled, so their specific behavior and wiring are not inferred.
Main entry points: script.js Game controller · index.html Page shell · assets Game assets
Components 11
Browser interface
- Page shell
site/index.html - Game styling
site/style.css - Game assets
assets
Game flow
- Game controller
site/script.js - Card board
site/script.js - Level selection
site/script.js - Card matching
site/script.js - Level completion
site/script.js
Progress state
- Progress handling
site/script.js - Browser storage
Other components
- Player
Connections 10
- Player → Game controller: selects and plays
- Game controller → Page shell: updates screens
- Game controller → Level selection: renders levels
- Game controller → Card board: builds board
- Card board → Card matching: handles flips
- Card matching → Level completion: checks victory
- Level completion → Game controller: shows modal
- Game controller → Progress handling: loads and saves
- Progress handling → Browser storage: reads and writes
- Card board → Game assets: references logo