cd /news/artificial-intelligence/claude-plays-doom · home topics artificial-intelligence article
[ARTICLE · art-111610] src=hackaday.com ↗ pub= topic=artificial-intelligence verified=true sentiment=· neutral

Claude Plays DOOM

Andrea Ricci ported DOOM to the SCINTIX P4 single-board computer and used Anthropic's Claude Sonnet large language model to play the game, with the model receiving only the same visual information as a human player and responding with movement and fire commands via a WebSockets setup. The system uses a depth fan and an ASCII automap to help the LLM navigate, and it successfully describes the game world, opens doors, and shoots enemies.

read1 min views2 publishedAug 26, 2026
Claude Plays DOOM
Image: Hackaday (auto-discovered)

Large language models (LLMs) are generally thought of as machines that accept textual prompts and spit out textual content. However, if you’re creative in the way you interface with them, you can get them to do a wider range of tasks. For example, [Andrea Ricci] figured out how to get one to play DOOM.

For this project, [Andrea] began by porting the game to the SCINTIX P4. It’s a rather interesting device, being a single board designed in the Raspberry Pi CM4/CM5 form factor, but carrying an ESP32-P4 and an ESP32-C6 instead. The game runs on the P4 and is displayed on a 1024×600 MIPI DSI panel, but it’s only stepped through a few frames at a time. These frames are then passed to Claude Sonnet via a WebSockets setup. With only the same information as a human player would get, the LLM has to figure out what it’s looking at, and then respond with movement and fire commands to play the game. It’s quite interesting to watch the system play—the LLM mostly accurately describes the game world, navigates down corridors, opens doors, and shoots at enemies. There is a bit of work behind the scenes to enable it to see and understand the game world—namely, using a depth fan across the field of view so it can figure out where walls are and how not to bang into them. There’s also an ASCII automap used to allow the system to keep track of where it has already been. But fundamentally, the LLM is playing the game without any other sort of additional assistance.

We’ve seen some other great ways in which AIs have been whipped up to play various games, like Trackmania.

── more in #artificial-intelligence 4 stories · sorted by recency
── more on @andrea ricci 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/claude-plays-doom] indexed:0 read:1min 2026-08-26 ·