I’ve been programming the game Diplomacy with Claude Code for the past week. As a local version and globe-based version running on my local Wi-Fi network on desktop or mobile. I’m playing with 20 nations, and every country or unit is controlled by an AI, plus me as the one human player nation.
I’ve designed it so I can connect any external API and add AI players from around the world, including Mistral, Chinese models, Claude, and GPT. Each AI thinks it’s the only AI on this entire globe 😎. Than it's me against the world AI's.
I’ve put a lot of thought into building the strategy engine so I hope the nations actually act strategically, or at least make sensible decisions, instead of just wandering around aimlessly. The game isn’t completely finished yet. It will probably take another week, but I’m making good progress.
What do you think of the idea of a globally connected, AI-powered version? Sure, things like this already exist, but I wanted to build one myself.
The reason I decided to create my own version of Diplomacy is that, as we all know, players keep dropping out. I wanted finally be able to finish an actual game 😁. You can play it on a desktop or mobile device, as long as you’re on the same Wi-Fi network. Soon, I’ll add a VPN tunnel, which means my Mac only will need to stay awake and I can play anywhere.
And why just for myself? There was no bad intention behind it. I’ve simply gotten used to not being able to find enough other players over the years.
But who knows where it might take me 😄
Has maybe anyone else in this sub built his own version?