An adjudicator for orders in the board game Diplomacy. This adjudicator will be fully compatible with the Diplomacy Adjudicator Test Cases.
This module contains the types needed to build a map of the world in Diplomacy. Terminology in this module comes from the DATC.
Contains the logic needed to adjudicate a turn.
The model for an order issued to a unit.
Contains error types and trait implementations for parsing diplomacy orders.
An actor in the game. Nations can own units and issue orders.
An order is issued by a nation and gives a command to a unit in a region.
A specific unit that belongs to a nation.
A unit's instantaneous position in a region.
The type of a military unit. Armies are convoyable land-based units; fleets are sea-going units which are able to convoy armies.
A command issued to a unit or location which uses a single concrete location type of
Format trait for short naming of objects in orders.
Knowledge of unit positions at a point in time.