News for hackers. Stuff that matters.

LLM plays an 8-bit Commander X16 game using structured "smart senses"

https://pvp-ai.russell-harper.com

I connected the ChatGPT API (model gpt-4o) to an 8-bit shoot-'em-up game, PvP-AI, running on a Commander X16 emulator.

Instead of pixels or audio, the model receives structured text summaries, what I’m calling "smart senses", based on the game's existing touch and EMF-style inputs.

The LLM maintains notes between turns, develops strategies across games, and even discovers an exploit in the built-in AI's behavior.

Write-up, technical details, and three sequential gameplay recordings: https://pvp-ai.russell-harper.com/#v3

( 7 comments | 10 points | on HN )
Re:LLM plays an 8-bit Commander X16 game using structured "s... by pragmatick on Friday April 10, 2026 @02:09AM (#47714237)
Please add a button to disable a background animation (or just remove it). It adds visual noise and is so distracting I closed the website after reading a couple of sentences.
Re:LLM plays an 8-bit Commander X16 game using structured "s... by russellharper on Saturday April 11, 2026 @03:17PM (#47733223)
Thanks for the feedback. I've updated the page to honor the "prefers-reduced-motion: reduce" media query, so the background animation won't show for those who have animations disabled in their OS or browser settings.
Re:LLM plays an 8-bit Commander X16 game using structured "s... by msephton on Friday April 10, 2026 @02:22AM (#47714303)
The flow charts don't fit on mobile. Also, I would lead with a video as that's surely what everybody wants to see, it's a video game after all.
Re:LLM plays an 8-bit Commander X16 game using structured "s... by Folcon on Friday April 10, 2026 @04:06AM (#47715023)
They've linked video, here's the links:

- Game 1 - "lucky win" : https://youtu.be/reM4ojB48Kw

- Game 2 - "be aggressive" : https://youtu.be/hD7wBwrfj8E

- Game 3 - "wait it out" : https://youtu.be/X0IKxCrAbpI

Re:LLM plays an 8-bit Commander X16 game using structured "s... by msephton on Monday April 13, 2026 @02:58AM (#47748609)
Sure, I saw the video links at the bottom of the article. What I meant was that it would be more engaging if there's was an embedded video with a big play button at the top of the article.
Re:LLM plays an 8-bit Commander X16 game using structured "s... by Folcon on Tuesday April 14, 2026 @08:15AM (#47764611)
Ahh, sorry I misunderstood you

Agreed

Re:LLM plays an 8-bit Commander X16 game using structured "s... by Folcon on Friday April 10, 2026 @04:05AM (#47715015)
Well done OP!

I've been thinking about doing this for the game I've been working on and you've inspired me to put some energy behind accelerating it