Make a simple side-scrolling game for your device
A developer used Cursor to write and fix a small arcade game for the DeskHog hardware.
- What they did
- The developer copied the DeskHog project with GitHub Desktop, branched off, and opened it in Cursor’s Agent mode alongside the project’s README and hardware reference files. They asked the agent to create a game with basic shapes that could be played with the CENTER button. After Cursor produced the code, the developer accepted it, then built and uploaded it to the device through PlatformIO over USB-C.
- How it went
- The first build succeeded, but nothing appeared on the DeskHog itself. The developer then sent Cursor to CardController.h and CardController.cpp and explained the symptom, which resolved the issue. The article does not include any speed or score figures.
- Tips
- Feed the agent the project documentation and the files that handle controls or display output. If the code builds but the app never shows up, have the agent inspect the hardware-facing layer next.
Try it yourself with Cursor
Open my repository in agent mode and read [README.md], [hardware reference files], and any source files that manage controls or display output. Create a simple side-scrolling arcade game for [device name] in [language/framework], using plain shapes and [button/input] for play. Once the code is ready, pause before any build, flash, upload, delete, or submit step and ask me to confirm. Then help me compile, test on the device, and adjust the code until it appears and runs as expected.
Fill in the [brackets]. Agents can make mistakes, so review anything before it is sent, paid or deleted.
Get 3 agent uses like this every morning
With the day's top AI news. Free, and one click to unsubscribe.
Related agent uses
Use Cursor to build a small game collection fast
A data scientist turned a rough idea into a Python tkinter app with four minigames using ChatGPT and Cursor agent mode.
Have Cursor click through a Godot 4 playtest
A Cursor subagent can load a Godot 4 scene, follow a UI path, and surface broken inputs or scene errors.
Use Doom runs to test a computer-use agent
Have a computer-use agent play Doom on a remote machine and use its performance to spot workflow problems.
Build a 3D browser game with an AI agent
A developer used Replit’s agent to try making a 3D browser game entirely in the browser, without installing anything locally.
Build an HTML5 browser game in small steps
A developer used Gemini to assemble a browser game, then recovered from stalled chats by restarting and reloading the code context.
Run an iPhone game in a simulator and log coverage
A cloud agent played an iPhone game in a simulator and returned a recording plus a test report showing what it checked and what it skipped.