How nrangamadhav/harvest-rush-gameberry-assessment works
Harvest Rush is a small browser-based farming game. The player moves from the home screen to the lobby, starts a timed round, and collects items while avoiding hay carts. Its runtime is concentrated in game.js, which handles screen transitions, input, game state, and canvas drawing. The README documents the mobile install-style preview and the separate art-asset workflow; the optional Python asset scripts are not part of playing the game. Source excerpts are partial, so unshown runtime connections are omitted.
Main entry points: index.html Browser game · game.js Screen flow · style.css Responsive styling · manifest.webmanifest Install preview
Components 11
Game flow
- Browser game
index.html - Screen flow
game.js
Gameplay runtime
- Round state
game.js - Movement controls
game.js - Round updates
game.js - Items and hazards
game.js
Presentation
- Canvas rendering
game.js - Responsive styling
style.css - Art assets
assets - Install preview
manifest.webmanifest
Other components
- Player
Connections 11
- Player → Browser game: opens
README.md - Browser game → Screen flow: runs
README.md - Screen flow → Round state: starts round
game.js - Screen flow → Round state: resets round
game.js - Player → Movement controls: steers
README.md - Movement controls → Round updates: sets movement
game.js - Round updates → Items and hazards: updates
game.js - Items and hazards → Round state: changes score
game.js - Round updates → Canvas rendering: renders round
game.js - Browser game → Responsive styling: uses styling
README.md - Player → Install preview: adds to home screen
README.md