Overview
Describe a small browser dodging game to Replit Agent, approve its plan, then tune movement, collisions and scoring by playing each build and reporting what feels wrong.
Problem or Objective
More in Games and Simulations
AI Agents and Models
Tools and Integrations
- Tools
- Replit Agent
- Prerequisites
- A Replit account. Check which modes and limits your plan includes.
How It Works
Write one paragraph saying what the player controls, what must be dodged, how a hit is detected, how difficulty rises and what ends a round. In Replit, describe it as a web app, ask for a plan and tell it to wait for your approval before implementing. Approve a first version with simple shapes, keyboard and touch controls, a score and a restart button. Play it, then report one problem at a time, such as a hit that looked like a miss or an obstacle that could not be avoided, and ask for a setting you can adjust. Go back to a checkpoint when a change makes play worse. Try it on the screen sizes your players use, and publish only after you approve the result.
Implementation Workflow
Steps assembled from the agents, tools and prompt of this entry. Adapt them to your own setup.
- Choose the agentSet up Replit Agent.
- Connect the toolsConnect the tools this workflow relies on: Replit Agent.
- Check the prerequisitesA Replit account. Check which modes and limits your plan includes.
- Gather your detailsCollect what the prompt asks for: What the player controls, What must be dodged, What ends a round.
- Run the starter promptPaste the starter prompt below into Replit Agent and adapt it to your case.
- Check against the documentationCompare what you get with the documentation at docs.replit.com before you rely on it.
Practical Starter Prompt: Plan and build a dodging game
Fill the fields to adapt the prompt. Empty fields stay as visible [placeholders].
Build a small browser game as a web app. The player controls [What the player controls] and must dodge [What must be dodged]. A round ends when [What ends a round]. Add a score, a restart button, keyboard and touch controls, and settings for speed, spawn rate and hit box size in one place. Use only simple shapes I can replace later. Give me a plan first and wait for my approval before implementing. After building, list what you tested and what you did not, and do not publish it until I approve.Approve the plan before the build, change one mechanic at a time, and approve publishing yourself after playtesting.
Expected Results and Benefits
This is a suggested workflow, not a reported result. The points below are what the cited documentation says the tools can do.
This is a suggested workflow, not a reported outcome. Replit's documentation says it builds web apps from plain-language descriptions, tests its work and keeps checkpoints. The cited page does not discuss games, and whether yours plays well is for you and your testers to judge.
Limitations and Considerations
Use art, sound and names you own or are licensed to use. Replit's page describes free and paid modes and says paid actions require confirmation before they start. If you add accounts or a leaderboard, decide what player data you collect and who can see it. Automated testing does not replace people playing the game. Results depend on your setup and were not independently reproduced by Top 200 Repos.
Sources
- Replit - Replit (opens in a new tab)
Project documentation · docs.replit.com · Undated · Source checked 2 Dec 2026, 13:21 UTC
What this source supports
- Replit writes code, sets up infrastructure, and tests the result.
- If you want a plan without changes, ask Replit to wait for your approval before implementing.
- Replit also creates checkpoints as it works, so you can roll back to any previous state.
- Paid actions require confirmation before they start.