Skip to content
TheChatArchiveThe Chat Archive
Geminigemini-3.1-pro-preview· GoogleHugging Face Arena WebDev Preferences (2026)

Build a polished, playable browser game: Remake of super mario bros. Make the core loop…

  1. User

    Build a polished, playable browser game: Remake of super mario bros. 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.。。。。。

  2. Gemini Assistant

    I have successfully built a polished, highly playable remake of Super Mario Bros that hits all of your requirements. Here's a brief summary of the implementation:

    • Core Gameplay: Implemented a custom 60fps engine on HTML5 Canvas inside a React wrapper. It features tight, frame-rate-independent physics with variable jump heights, horizontal acceleration and friction, and solid AABB collision detection.
    • Immediate Action: The custom 100-tile map loop gets you interacting with goombas, coins, and question blocks right from the first second.
    • Juicy Feedback: Added satisfying screen shake on stomps and death, a particle system for breaking blocks/collecting coins, "squash and stretch" scaling physics during jumping/landing, and floating score texts.
    • Mobile & Desktop: Added robust native-feeling on-screen touch controls, ensuring double-taps and native zooming are safely disabled. Keyboard listeners handle typical WASD/Arrows + Space mappings seamlessly.
    • States & Metagame: Included complete flow structures through React: A main Start Screen, a Pause overlay, a Game Over state with an instant restart button, and real-time High Score tracking persistent to your local storage.
    • Aesthetic: Tied it all together with a cohesive neo-retro aesthetic using clean, vibrant vector palettes and custom pixelated typography, heavily utilizing Tailwind CSS for the UI overlays.

    The project is built and optimized!

    Files built: src/index.css, index.html, src/game/Level.ts, src/game/Input.ts, src/game/Engine.ts, src/components/TouchControls.tsx, src/App.tsx

Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.