logo
  • Environnements
  • Entreprise
  • Tarifs
DeveloperMay 29, 2026

Build a 3D Snow Bros Platformer with Gemini 3.1 Pro

EigentEigent
Build a 3D Snow Bros Platformer with Gemini 3.1 Pro
Automate Everything with
AI Workforce on Desktop
Download Eigent

A Playable 3D Game, Built From a Single Prompt

Game development is one of the most technically demanding creative disciplines — it requires physics, rendering, AI, state management, and UI all working together in a single codebase. This workflow demonstrates that with a sufficiently detailed prompt and Gemini 3.1 Pro Preview, Eigent can spec out, write, and deliver a fully playable multi-file browser game without a single line of manual code.

1Configure Gemini 3.1 Pro Preview

This workflow runs on Gemini 3.1 Pro Preview, Google's most capable model at time of recording. To configure it in Eigent, go to Settings → Models → Custom Models:

  • API Host: https://generativelanguage.googleapis.com/v1beta/openai/
  • Model: gemini-3.1-pro-preview

Eigent supports multiple custom models simultaneously — you can have Gemini, OpenAI, Anthropic, Qwen, Deepseek, MiniMax, and others all configured at once, with one set as the active default.

2The Game Design Prompt

A detailed prompt produces a detailed result. This one specifies mechanics, visual style, scoring, special events, and even a specific collectible sequence:

Create a modern 3D side-scrolling platformer inspired by Mario, combined with Snow Bros mechanics. The player can move left and right and jump, shooting snow projectiles to gradually freeze monsters into snowballs. Once fully frozen, a 'Kick' button appears, allowing the snowball to roll and bounce across the stage, defeating enemies and triggering chain reactions. If all monsters are defeated using a single snowball, a 10,000-point bonus drops, or occasionally a glowing cake appears. Collecting the cake spawns four blue snow creatures; defeating them grants the letters S, N, O, and W, and collecting all four awards an extra life. Include a scoring system, lives display, scaling difficulty, and a restart function. The background should resemble a Mario-style world with rich, layered, and visually complex 3D environments, including multi-level terrain, decorative elements, and parallax depth effects, with smooth, modern, and immersive visuals.

Every mechanic named in the prompt is implemented in the output.

3Eigent Plans and Executes the Build

Eigent creates a single task for the Developer Agent:

Develop a fully playable HTML5/JavaScript web game using Three.js that combines modern 3D side-scrolling platformer visuals with Snow Bros gameplay mechanics — including snow projectile shooting, enemy freezing and kicking, chain reaction bonuses, scoring, lives, scaling difficulty, and a restart function.

The Developer Agent uses Terminal & Shell tools alongside Web Deployment and Screen Capture capabilities to write all game files directly to the workspace folder.

4Three Files, One Complete Game

The output is three interdependent files:

  • index.html — entry point and game container
  • game.js — all game logic: Three.js rendering pipeline, physics, enemy AI state machine, projectile system, chain reaction detection, bonus drop logic, scoring, lives tracking, and the SNOW letter collectible sequence
  • style.css — canvas sizing, UI overlays, HUD styling

The Three.js renderer builds a layered 3D environment with parallax depth — snow mountains in the background, midground platforms, and foreground terrain, all with procedural canvas elements and smooth animation.

5What the Finished Game Looks Like

Opening index.html in any modern browser reveals a fully playable platformer:

  • HUD: Score counter, Wave counter, Lives display, and the S-N-O-W letter progress bar
  • Player controls: Left/right movement, jump, snow projectile shooting
  • Enemy mechanics: Progressive freeze state, kick-to-roll, chain reaction when a snowball hits multiple enemies
  • Bonus system: 10,000-point bonus drop on a full-clear with a single snowball
  • Visual style: 3D layered snow-mountain background, Mario-style level design, smooth parallax scrolling

Tooltip on first load: "Freeze enemies with Z. Kick fully frozen snowballs!"

Total tokens used: approximately 147,000 — lean for a multi-file game of this complexity.

6What This Demonstrates About AI-Assisted Game Dev

The Snow Bros mechanic — freeze, kick, chain — requires the agent to implement interdependent game states: an enemy can be unfrozen, partially frozen, or fully frozen, and only transitions to rollable snowball in one specific state. The chain reaction logic requires collision detection between a rolling snowball and other enemies. These aren't trivial implementations.

Gemini 3.1 Pro's ability to hold the entire game specification in context and produce coherent, interdependent JavaScript across multiple files is what makes this possible. The result isn't a template — it's a custom implementation of the exact mechanics described.

7What to Try Next

Add a second playable character with different projectile mechanics and a local two-player mode.

Generate a level editor that lets you place platforms and enemies on a grid and export the layout as JSON.

Add a high score leaderboard that persists in localStorage.

Build a mobile version with touch controls for the same game.

8Tips for Better Results

  • Specify mechanics precisely. The freeze → kick → chain reaction mechanic worked because each state transition was described explicitly in the prompt. Vague terms like "cool enemy interactions" would produce much simpler results.

  • Name your technology choices. Specifying "Three.js" for 3D rendering and "pure HTML/CSS/JS, no libraries" for the structure gives Eigent clear implementation constraints. Without these, the agent may choose different (potentially incompatible) approaches across different tasks.

  • Review in-browser before iterating. Once Eigent delivers the files, open index.html immediately and test the core mechanic loop. It's faster to course-correct at this stage with a targeted follow-up prompt than to specify everything upfront.

Other use cases

Long-Horizon Task: GLM-5.1 vs GLM-5.2 on Eigent

Long-Horizon Task: GLM-5.1 vs GLM-5.2 on Eigent

Do a deep-dive research on 26 companies in the AI infrastructure ecosystem — the most certain main thread of the entire AI value chain. Cover these 6 sub-sectors (pick representative companies in each, from large-cap leaders down to smaller players): AI Data Center (compute infrastructure / build-out); GPU / AI Chips (training & inference silicon, ASICs, IP); Servers, Networking & Optical Modules (switches, NICs, optical interconnect); Power, Liquid Cooling & Energy Storage (power supply, thermal, energy management); AI Cloud / Compute Platform (hyperscalers, GPU clouds, compute-rental platforms); Supporting Ecosystem (HBM / advanced packaging, foundry, connectors & other critical components). For each company, research: company name, sub-sector, HQ / country; core products and its specific role in the AI chain; public or private (ticker + exchange if listed; if private, note latest valuation / funding round); market cap or valuation size (used for ranking); positioning and moat in the ecosystem (1–2 sentences); key customers / competitors. Ordering: within each sub-sector, rank from largest to smallest (by market cap / valuation). Structure the whole thing top-down: from the full hardware-ecosystem landscape → down to each individual company. Output requirements: First, generate a structured data file ai_infra_data.json — containing all 26 companies with the fields above, the 6 sub-sector classifications, a public/private flag, and a cross-company comparison matrix (sub-sector × key dimensions). Then generate a polished HTML report from that JSON: include an ecosystem landscape / layered diagram, sector sections, company cards, a clear visual indicator for public vs. private (tags or color coding), a market-cap ranking chart, and a sortable/filterable comparison table. Make the design professional, information-dense, and interactive. Verify the research data for accuracy first (listing status, tickers, valuations — use the latest figures and cite sources), then generate the report. Send the task in single-agent mode.

Build 10 Chinese New Year HTML5 Games with Eigent

Build 10 Chinese New Year HTML5 Games with Eigent

Build 10 separate and COMPLETE games with topics related to 2026 Chinese New Year (Horse) in HTML, CSS and JS (no libraries). Games must be fun, original, polished, mobile-friendly. Include scoring, scaling difficulty, restart buttons, and smooth visuals. Cover: arcade, puzzle, endless runner, reaction, strategy, memory, 2-player local, idle, retro pixel, and 1 experimental game.

Configure Gemini & Automate Salesforce Deals

Configure Gemini & Automate Salesforce Deals

I need to update the salesforce.com - 200 Widgets deal. Give me the contact name and phone number. Back to the Opportunities page, edit the Next Step as 'book a meeting with + the contact name and phone number.'

Automate everything with AI workforce on desktop
Download Eigent

Essayez Eigent dès aujourd’hui

Téléchargez l’application de bureau open source. Votre workforce IA, exécutée sur votre machine.

Télécharger Eigent
Eigent

Recevez les dernières mises à jour, tutoriels et versions sur l’automatisation de la workforce IA.

ProduitEigentEnvironnementsTarifsEntreprise
ExplorerSolutionsCas d’usageCompétencesPluginsBlogs
DéveloppeursDocumentationGitHubCAMEL-AIOpen Source FundPartenaire
TéléchargementPour open source
EntrepriseÀ propos de nousMarqueCarrièresConditions d’utilisationPolitique de confidentialitéSécurité et confiancePolitique relative aux cookiesPolitique de remboursement et d’essai

Tous droits réservés © 2026 EIGENT UK LTD

Nouvelle version d’Eigent 1.0 publiée !download