Build a polished, playable browser game: openworld game like gta vice city. Make the…
- User
Build a polished, playable browser game: openworld game like gta vice city. 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
I’m going to inspect the project structure and key entry files so I can replace the app with a polished game and update the page title appropriately.
I’m going to replace
src/App.tsxwith a full-screen neon open-city arcade driving game that includes the play loop, canvas renderer, keyboard/touch controls, UI overlays, score states, effects, and local high scores.I replaced the app entry with the full playable neon driving game, including canvas gameplay, states, effects, touch controls, and local leaderboard logic.
I’m going to update the global stylesheet so the game fills the viewport cleanly, uses the right dark theme base, and behaves well on touch devices.
I updated the global styles to support a full-screen dark game presentation with cleaner mobile behavior and no page scrolling.
I corrected the canvas and button interaction styles so the joystick’s custom touch handling won’t be blocked.
I’m going to update the document title so the browser tab matches the new game.
I updated the page title to match the new arcade game.
I’m going to build the project now to catch any issues and verify the game compiles successfully.
Done — I turned the app into a polished full-screen neon arcade driving game inspired by an open-city Vice-style chase.
What I changed:
- Replaced
src/App.tsxwith a playable canvas-based game - Added:
- start screen
- pause state
- game-over state
- instant restart
- score + survival tracking
- local high-score table via
localStorage - keyboard controls
- touch joystick + nitro/drift buttons
- screen shake, particles, boost flames, collision feedback
- procedural neon city blocks for an open-world feel
- Updated
src/index.cssfor full-screen game styling and mobile behavior - Updated
index.htmltitle toVice Run: Neon Heist
Build status:
npm run buildcompleted successfully
How to play:
- Desktop: WASD / arrows to drive, Shift for nitro, Space to drift, P/Esc pause, R restart
- Mobile: drag left pad to drive, use DRIFT and NITRO buttons on the right
If you want, I can next add missions, pedestrians/traffic, a minimap, audio, or weapon-style chaos mechanics.
Files built:
src/App.tsx,src/index.css,index.html - Replaced
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.