views:

292

answers:

2

I am writing a server for playing the great diplomacy game online. Does anyone know an algorithm for the judge, that will calculate all moves/supports/convoys on the map at the end at each round?

For implementing the protocol I use twisted, for db-access django

+5  A: 

Yes. DPjudge Adjudication Algorithm. Also see the DPJudge FAQ answer to the question about convoy paradoxes.

A check the njudge page that links to source code.

Van Gale
Thanks a lot. Seems to be what I was looking for!
vikingosegundo
+1  A: 

You might also want to look into the DAIDE project. They have a full comm protocol for create dip bot players against special servers. It's not open source (unfortunately) but there is a small community who use it to play real-time Dip games when 7 humans aren't available to play.

jmucchiello