Vibe-code a Flappy Bird game for DeskHog
A PostHog tutorial has Cursor in Agent mode write a Flappy Bird-style game for the DeskHog device from its README and hardware details.
Done withCursor
- What they did
- The author cloned the DeskHog repo with GitHub Desktop, made a branch, and opened it in Cursor's Agent mode with README.md and Tech-details.md as context. One prompt asked for a Flappy Bird-style game using simple shapes and the CENTER button. The author accepted the code, then built and deployed it with PlatformIO over USB-C.
- How it went
- The first build ran, but the game didn't show up on the device. Pointing Cursor at CardController.h and CardController.cpp and describing the problem fixed it. The post gives no performance numbers.
- Worth knowing
- The post says Cursor can no longer install PlatformIO directly. It suggests a VSCode workaround, or recommends its Claude Code tutorial instead.
Try it yourself with Cursor
Using agent mode, read my project's README and hardware details, then write a Flappy Bird-style game in [language/framework] tailored to my device's screen size and input controls. Build and test it until it runs correctly, then show me the result.
Want help getting this working? Join the Vibe Coding Academy ↗ Run by Alex Finn, who also runs this site.
Source: posthog.com · Undated
Related use cases
Keep coding agents running autonomously for long stretches
Cursor's write-up on scaling long-running autonomous coding.
Upgrade site dependencies and frameworks with Cursor
Kent C. Dodds had Cursor's agent look up migration docs, plan and upgrade Remix v2 to React Router v7 and xstate in his site.
Turn Sentry bug reports into fix pull requests
Sentry's Seer passes root cause analysis and issue context to a Cursor Cloud Agent, which writes the fix and opens a pull request in the user's repo.
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 a browser game and train an agent to play it
Grok built the browser game Roofline, then trained a PPO agent that plays the live page, reaching a best score of 39,359.
Get 5 like this every morning
The best things people got an AI agent to do, each with the prompt to try it.