Home > diplomacy_online

diplomacy_online

Diplomacy_online is a project mainly written in JAVASCRIPT and PHP, it's free.

A web based version of the popular "Diplomacy" board game made by Hasboro

Diplomacy Online

An implementation of the Diplomacy board game playable entirely in the browser

TODO

The big change that will be coming next is that I will be changing the way the map is drawn so that it will no longer have to rely on the raphaeljs libraries which I'm sure are playing a hand in making the interface very sluggish. I will instead be using the HTML 5 canvas tag.

Files:

  • index.php: main file, is run when site is accessed, determines what other pages to show
  • db.php: contains functions to perform db transactions
  • htmlManager.php: contains functions to setup templates
  • processOrders.py: processes orders input by players
  • script.js: contains js code to display game map
  • map/raphael.js: the raphaeljs library http://raphaeljs.com/
  • html/: the html templates
  • map/: the map files
Previous:caremarkz