BAsic eNvironment for Diplomacy playing Automated Negotiating Agents

Last Update: 1 June 2017

BANDANA is a Java framework designed for the development of automated agents that play the game of Diplomacy. It comes with a tutorial that explains how you can implement your own Diplomacy-playing, negotiating agents, and how you can let them play a game of Diplomacy, or even an entire Diplomacy tournament. BANDANA is an extension of the DipGame framework. However, it provides a new negotiation server and uses a simplified negotiation language.

Please note that BANDANA may still contain a number of bugs. Please contact us if you find any.

Deadline for submission to the ANAC 2017 Diplomacy league: 1 June 2017, 23:59 UTC-12.
Extended deadline for submission to the ANAC 2017 Diplomacy league: 12 June 2017, 23:59 UTC-12.
To submit your agent compile it into a runnable jar file, put it in a zip file together with all your source code, and e-mail it to Make sure that you put
[ANAC Diplomacy] in the e-mail subject and clearly include your name and the name of your agent in the e-mail.
For a list of Frequently Asked Questions, see here: FAQ


What's new:

  • 11 May 2016: uploaded first version of BANDANA.
  • 14 May 2016: Added adjudicator and GameBuilder to the BANDANA framework.
  • 10 June 2016: Added the possibility to implement a negotiation algorithm on top of the tactical module of D-Brane.
  • 24 June 2016: Added the necessary classes for participants of the (possible) ANAC competition to implement their agents, including source code of an example agent.
  • 02 August 2016: Uploaded v1.2 with improved TournamentObserver and classes for implementing score systems.
  • 26 September 2016: Uploaded the ANAC 2017 competition manual.
  • 07 October 2016: Uploaded v1.2.1, which contains a few bug fixes.
  • 22 October 2016: Made some small changes to the implementation of the example agents.
  • 16 December 2016: Uploaded v1.3: ANACNegotiator now has a proposeDraw() method and added some comments to ANACExampleNegotiator.
  • 07 January 2016: Updated the manuals.
  • 18 April 2017: added submission info for the ANAC Diplomacy league.
  • 3 May 2017: uploaded the javadoc of BANDANA.
  • 23 May 2017: uploaded version 1.3.1. This new version solves a bug that caused a player to stop working when receiving a proposal containing an empty list of DMZs.
  • 01 June 2017: Deadline for the ANAC Diplomacy League extended to 12 June.



Future Improvements:

  • Add code for setting up tournaments using DAIDE server instead of Parlance.
  • Add code to enable users to use DAIDE mapper.
  • Allow to run tournaments without showing the window of TournamentObserver.
  • Let the tournament observer display standard deviations and standard errors in the TournamentResults log file.
  • Allow users to define alternative types of deals