Overview
Ask Devin, in two short sessions, for a browser Pong game and a one-page companion site, each with written success criteria, and have it test both in its own browser before you review the code.
Problem or Objective
- Which agents help create, run and debug games?
- Which agents turn a plain-language brief into a working app or prototype?
More in Coding and Code Review
AI Agents and Models
Tools and Integrations
- Tools
- Devin · GitHub
- Prerequisites
- Requires a Devin account on an Individual or Teams plan and a connected Git repository.
How It Works
Create an empty repository and connect it to Devin. In the first session, describe the game: two paddles, a ball, a score to a set number of points, keyboard controls for one or two players, and a restart button, all in plain HTML, CSS and JavaScript with no server. Ask Devin to open the game in its browser, play a round, and list what it checked. Review the code and play it yourself before merging. In a second session, ask for a one-page site in the same repository that introduces the game, shows the controls, and links to it. Keep each session to one deliverable with clear success criteria, and add touch controls or extra features only as later sessions.
Implementation Workflow
Steps assembled from the agents, tools and prompt of this entry. Adapt them to your own setup.
- Choose the agentSet up Devin.
- Connect the toolsConnect the tools this workflow relies on: Devin, GitHub.
- Check the prerequisitesRequires a Devin account on an Individual or Teams plan and a connected Git repository.
- Gather your detailsCollect what the prompt asks for: Repository for the game, Points needed to win, Keys for each player, Look of the game.
- Run the starter promptPaste the starter prompt below into Devin and adapt it to your case.
- Check against the documentationCompare what you get with the documentation at docs.devin.ai before you rely on it.
Practical Starter Prompt: Browser Pong game with clear success criteria
Fill the fields to adapt the prompt. Empty fields stay as visible [placeholders].
In [Repository for the game], build a Pong-style game in plain HTML, CSS and JavaScript with no server. Requirements: two paddles, a ball that speeds up slightly after each hit, first to [Points needed to win] points wins, controls [Keys for each player], and a restart button. Use the colour scheme [Look of the game]. Success criteria: the game loads from index.html, a full round can be played to the winning score, and restart resets the score. Open it in your browser, play a round, and list what you tested. Open a draft pull request for my review; do not merge it.Run the companion website as a separate session once the game is merged, with its own success criteria. Play the game yourself before merging each pull request, and add new features one session at a time.
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. The Devin docs describe an agent that writes, runs and tests code and uses its own browser to test the web applications it builds, and its guidance says tasks with verifiable outcomes work best and longer tasks should be split into smaller sessions. No cited page reports how long such builds take or how well a generated game plays.
Limitations and Considerations
A quick prototype is not tested on every browser or device; check the controls yourself, and on phones if you need them. Review the code before merging, as you would a colleague's. Devin sessions are paid usage on an Individual or Teams plan, so keep each session small. If you use public assets such as sounds or fonts, check their licences. Results depend on your setup and were not independently reproduced by Top 200 Repos.
Sources
- Introducing Devin - Devin Docs (opens in a new tab)
Project documentation · docs.devin.ai · Undated · Source checked 26 Nov 2026, 17:27 UTC
What this source supports
- Devin is an autonomous AI software engineer that can write, run and test code.
- Watch Devin browse through documentation, test web applications it builds, download/upload information, and more.
- Individual and Teams plans are available.
- When to Use Devin - Devin Docs (opens in a new tab)
Project documentation · docs.devin.ai · Undated · Source checked 26 Nov 2026, 17:27 UTC
What this source supports
- Tasks with test suites, CI checks, or verifiable outcomes yield the best results.
- For longer tasks, break them into smaller sessions.