How yhsome/bignaiwa works
合成大奶娃 is an offline-capable browser game: players aim and drop fruit, collisions merge matching tiers into higher fruit, and score/revival effects lead to a danger-line game-over check. The main runtime is concentrated in game.js, which also handles rendering, controls, sprites, and audio; the page and styles provide its interface. A documented rolling leaderboard and static sponsor dialog extend the game. The leaderboard implementation is absent from the supplied tree, so its adapter is shown with no source path; its documented behavior is cited from the README.
Main entry points: game.js Physics and Merge · index.html Game Page · parts.js Collision Shapes · blur.js Blur Placeholders
Components 15
Game Runtime
- Aim and Drop
game.js - Physics and Merge
game.js - Score and Revive
game.js - Game Over Check
game.js - Canvas Renderer
game.js - Fruit Sprites
game.js - Collision Shapes
assets/fruits/parts.js - Blur Placeholders
assets/fruits/blur.js - Sound Effects
game.js
Game Interface
- Game Page
index.html - Responsive UI
style.css
Player Extras
- Leaderboard Adapter
- Sponsor Dialog
sponsor.js
Other components
- Player
- TinyWebDB
Connections 13
- Player → Aim and Drop: aims and drops
README.md - Aim and Drop → Physics and Merge: adds fruit
game.js - Physics and Merge → Score and Revive: merges and scores
game.js - Physics and Merge → Game Over Check: checks danger
README.md - Physics and Merge → Collision Shapes: uses shapes
README.md - Canvas Renderer → Fruit Sprites: draws fruit
README.md - Fruit Sprites → Blur Placeholders: falls back to
README.md - Game Page → Aim and Drop: hosts game
README.md - Game Page → Responsive UI: uses styles
README.md - Game Over Check → Leaderboard Adapter: notifies score
game.js - Leaderboard Adapter → TinyWebDB: reads and writes
README.md - Player → Sponsor Dialog: opens dialog
README.md - Physics and Merge → Sound Effects: plays merge sound
README.md