Build a polished, playable mobile browser game: a snake game styled like the classic…
Private research annotation
Sign in to add a private research label or note.
- User
Build a polished, playable mobile browser game: a snake game styled like the classic Nokia, but with a modern Google Snake-style twist. Make the core loop fun within the first ten seconds, with tight controls for both keyboard and touch, and juicy feedback — screen shake, particle effects, and satisfying animations. Include a start screen, a score system, pause and game-over states with instant restart, and a local high-score table. Style it with a cohesive visual theme and make sure it runs smoothly at 60fps on desktop and mobile.
- Assistant
Implemented the playable mobile browser snake game in
src/App.tsxwith a polished Nokia-inspired theme and modern arcade feedback.What changed:
- Added a full canvas-based 60fps snake loop with fixed-timestep movement.
- Added keyboard controls with arrows and WASD.
- Added mobile swipe controls plus on-screen touch buttons.
- Added start, pause, and game-over states.
- Added instant restart via button, tap, Enter, or Space depending on state.
- Added score, best score, and a local high-score table using
localStorage. - Added juicy feedback: screen shake, food pulse animation, head motion, and particle bursts.
- Added a cohesive Nokia shell and LCD visual style with modern Google Snake-like bonus fruit pacing.
- Updated
src/index.csswith app-wide mobile-friendly defaults.
Verified:
npm run buildcompleted successfully viabuild_project.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.