How bjornbasar/chidole works
chidole is a browser-based pixel-art shoot-’em-up. The player starts a run and steers with keyboard or mouse; the game spawns enemies, aims and fires equipped weapons, handles hits and pickups, advances XP and levels, and renders the run or game-over state. game.js coordinates the runtime and delegates reusable calculations to logic.js. The README documents the Canvas/static-site experience; sampled excerpts do not show every game-over or rendering detail.
Main entry points: game.js Game runtime · index.html Game page · assets Game assets · logic.js Game logic
Components 5
Browser presentation
- Game page
index.html - Game assets
assets
Gameplay runtime
- Game runtime
game.js
Game rules
- Game logic
logic.js
Other components
- Player
Connections 4
- Player → Game runtime: controls
- Game runtime → Game page: updates display
- Game runtime → Game assets: loads sprites
- Game runtime → Game logic: calls calculations