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
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 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.
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.
Use paired agents to plan and code a Godot game
One agent handles the game plan and task list while another writes GDScript, checks the build, and prepares commits for approval.
Build a Telegram game-advice bot from screenshots
Use an n8n Telegram workflow with GPT-4o vision to read game images or voice notes and return move suggestions.
Guide a game agent through Goat Simulator 3
SIMA 2 in Goat Simulator 3 can be nudged by a person giving live directions.