logo
  • Environments
  • Enterprise
  • Pricing
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

Gemini 4: Vibe-Code a 3D Cinematic in Blender from One Prompt

Gemini 4: Vibe-Code a 3D Cinematic in Blender from One Prompt

Create a twelve-second, four-shot cinematic in the Cozy Kitchen scene: a draught lifts a recipe page off its stand, carries it across the work area, and leaves it draped on the strawberry tartlet. Preserve the warm illustrated kitchen. Add a thin two-sided RecipePage with readable recipe marks, follow the flight corridor in action.json, and show the calm setup, motivated lift, flight, contact, and settling with visible wind clues. Use four distinct cameras with camera-bound cuts, depth of field in shots 2 and 3, and smooth, measurable page and camera motion. Hand off a packed, editable sequence.blend, a shot list CSV, a labelled 3×3 storyboard, and nine stills.

Gemini 4: Turn Video Tutorials into Production RL Engineering Skills

Gemini 4: Turn Video Tutorials into Production RL Engineering Skills

Watch the listed YouTube talks and turn their methods and insights into 2–4 reusable, file-based agent skills, using only these videos as primary sources. For each talk, build a timestamped outline, record the key insights, results, and warnings, and label every claim OBSERVED, INFERRED, or UPDATED. Give each skill a SKILL.md with a key insights section and a tool-agnostic path, plus an evidence.md. Validate every skill, then publish a light-mode HTML report served from 127.0.0.1 with the talks embedded, clickable timestamps, a comparison of the talks, a coverage matrix that shows gaps, and a clear list of limitations.

Build a CAD Model from Video: Gemini 3.7 Flash vs. 3.6 Flash

Build a CAD Model from Video: Gemini 3.7 Flash vs. 3.6 Flash

Analyze the transformers character in the uploaded reference video and generate a production-ready, highly detailed 3D CAD/mesh model exported as a .glb file. Analyze the character identity and style, joints and articulation, and surface details. Create ultra-high-precision hard-surface mechanical geometry with distinct body and armor pieces separated around logical joint pivot points. Use metallic PBR materials, including anodized metals, brushed steel, dark titanium, high-gloss painted armor, and emissive channels for the eyes, chest core, and joint glow effects. Pack the diffuse, normal, roughness, metallic, and emissive textures directly into the GLB. Ensure clean topology, manifold geometry, and real-time optimization without losing mechanical sharpness.

Automate everything with AI workforce on desktop
Download Eigent

Try Eigent today

Download the open-source desktop app. Your AI workforce, running on your machine.

Download Eigent
Eigent

Get the latest updates, tutorials, and releases on AI workforce automation.

Thank you for subscribing!

ProductEigentEnvironmentsPricingEnterprise
ExploreSolutionsUse CasesSkillsPluginsBlogs
DevelopersDocsGitHubCAMEL-AIOpen Source FundPartner
DownloadFor open source
CompanyAbout UsBrandCareersSupportTerms of UsePrivacy PolicySecurity & TrustCookie PolicyRefund & Trial Policy

All rights reserved © 2026 EIGENT UK LTD