Build a chess game against a language model
An early tester asked Devin to build a chess game against a language model; it made good progress but eventually hung. ·
Done withDevin
- What they did
- Early tester Andrew Kean Gao, a computer science student, gave Devin a chess game to build in which the player competes against a language model. Devin works in an isolated environment with a shell, code editor and browser. The source gives no further detail on the steps it took or on how Gao intervened.
- How it went
- Devin made remarkable progress, but at some point it hung and the game wasn't finished. Gao's other tests had mixed results: a Chrome extension worked, and an Antarctic temperature visualization was unsatisfactory.
- Worth knowing
- Devin was only available to selected developers through a waiting list at the time, and the source gives no cost or time figures for this task.
Try it yourself with Devin
Build a chess game where I play against a language model through [API or model name]. It should show the board, enforce legal moves, and call the model for its replies. You're done when I can play a full game from start to checkmate. Tell me if you get stuck instead of looping, and describe what's left unfinished.
Want help getting this working? Join the Vibe Coding Academy ↗ Run by Alex Finn, who also runs this site.
Source: the-decoder.com · Mar 13, 2024
Related use cases
Hand narrow code changes to Devin for pull requests
A team used Devin for a month on small fixes like chart formatting and API edge cases, with tests and PRs; a complex full-stack task went poorly.
Migrate an Electron app from Vue 2 to Vue 3
Kearney gave Devin repo access to migrate a production Electron app to Vue 3 and update npm packages, committing after every five components.
Convert React MUI components to Tailwind with Devin
Lumos used Devin for routine tasks like MUI-to-Tailwind conversion, which went well, and its unit-test feedback loop reduced rewrites.
Build a racing game from a single prompt
Codex made a racing game with multiple racers, eight maps and items from one prompt, acting as designer, developer and QA tester by playing it.
Build four games in parallel with agents
Four Grok 4.20 agents built a tower defense, mini Factorio, CHIP-8 emulator and roguelike shooter in parallel over a day.
Get 5 like this every morning
The best things people got an AI agent to do, each with the prompt to try it.