A dog created a video game using code from Anthropic Claude, opening up game development for everyone
Artificial intelligence generates game code from a dog's “requests”
In a recent experiment by the YouTube channel Caleb Leak, it was shown that modern AI services can produce working code even from meaningless strings of characters. The secret is simple: instead of a human authoring the requests, his dog—a cavapoo named Momo—was used.
How the “game” works
1. Hardware
- A Bluetooth keyboard lies on the floor, connected to a single-board computer Raspberry Pi 5.
- The dog approaches the keyboard and accidentally presses keys with its paw.
- Each press is recorded and immediately sent to the DogKeyboard program written in Rust.
2. Software
- DogKeyboard converts the sequence of keypresses into a text string and sends it to the AI service Anthropic Claude Code.
- To help the service understand the “request,” the author devised a special template:
> “Hello! I’m an eccentric game designer who communicates in an unusual way…”.
It explains that any random characters (e.g., `skfjhsd#$%`) are encrypted commands with ideas for a game.
3. Code generation
- Claude Code receives such a “request” and outputs a ready code snippet.
- The code is then compiled in the Godot 4.6 engine, with logic written in C#.
- The entire process from the first keypress to a complete game takes 1–2 hours.
Result
In the video example, a game called “Quasar Saz” was produced: the player controls a character named Zara who uses a cosmic sizzle to fight sound distortions across six levels and a final boss battle. The visual style resembles popular 80s arcade games.
Thus, even “meaningless” paw presses from a dog can become the foundation for a full-fledged game project thanks to the flexibility of modern AI tools.
Comments (0)
Share your thoughts — please be polite and stay on topic.
Log in to comment