Procedural Generation for Diplomacy Maps

- 1 min

Returning to Maps

WebDiplomacy is a great open source gaming project. It basically creates an online platform for playing the Diplomacy board game, something that has been played by mail since the 1960s. It is a very simple and elegant game that provides a sometimes brutal introduction to the game theory concepts of cooperation and betrayal.

In the past I had my own server that I set up to play with coworkers during the pandemic. I even created my own Game of Thrones variant

Game of Thrones Diplomacy Map

I was recently on the road and had the idea to return to it, but with the question of what would be involved in generating fairly balanced random maps.

Diplomacy Random Map Editor

Compared to my last attempt at random map generation, I tried to keep things lightweight and relatively efficient.

The main steps were:

The most fun was coming up with the gradients, which are sort of the flavors for each map type.

Radial Map

Randomly Generated Radial Diplomacy Map

Mediterranean Map

Randomly Generated Mediterranean Diplomacy Map

Spiral Map

Randomly Generated Spiral Diplomacy Map

“Flat” Map

Randomly Generated Diplomacy Map

And of course:

Custom Image Map

The silliest is probably the ability to build a random map off of an imported image. This allows the creation of some rather cursed variants.

Battle of Austria Hungarys

Randomly Generated Diplomacy Map

Battle for McDonalds

Randomly Generated Diplomacy Map

Map Editor

Here is the editor itself:

comments powered by Disqus