aboutsummaryrefslogtreecommitdiff
path: root/diplomacy
AgeCommit message (Collapse)Author
2019-06-14Added 'retreats' as an additional attribute to game.get_state()Satya Ortiz-Gagne
- Contains a dictionary of valid retreat locations for each dislodged unit
2019-06-14Deprecated usage of NMR in game.pyPhilip Paquette
2019-06-07DAIDE - Implemented all the DAIDE responsesSatya Ortiz-Gagne
- MAP = MapNameResponse - MDF = MapDefinitionResponse - HLO = HelloResponse - SCO = SupplyCenterResponse - NOW = CurrentPositionResponse - THX = ThanksResponse - MIS = MissingOrdersResponse - ORD = OrderResultResponse - TME = TimeToDeadlineResponse - YES = AcceptResponse - REJ = RejectResponse - NOT = NotResponse - CCD = PowerInCivilDisorderResponse - OUT = PowerIsEliminatedResponse - OFF = TurnOffResponse - PRN = ParenthesisErrorResponse - HUH = SyntaxErrorResponse
2019-06-07Errors are implemented using the StringableCode classSatya Ortiz-Gagne
2019-06-07Implemented a StringableCode class, and OrderResults as its child objectsSatya Ortiz-Gagne
- OK, NO_CONVOY, BOUNCE, VOID, CUT, DISLODGED, DISRUPTED, DISBAND, MAYBE
2019-06-07utils - Implemented an utility to split an order and a phase into their ↵Satya Ortiz-Gagne
components
2019-06-07DAIDE - Implemented all the DAIDE requestsSatya Ortiz-Gagne
- NME = NameRequest - OBS = ObserverRequest - IAM = IAmRequest - HLO = HelloRequest - MAP = MapRequest - MDF = MapDefinitionRequest - SCO = SupplyCentreOwnershipRequest - NOW = CurrentPositionRequest - HST = HistoryRequest - SUB = SubmitOrdersRequest - MIS = MissingOrdersRequest - GOF = GoFlagRequest - TME = TimeToDeadlineRequest - DRW = DrawRequest - SND = SendMessageRequest - NOT = NotRequest - YES = AcceptRequest - REJ = RejectRequest - PRN = ParenthesisErrorRequest - HUH = SyntaxErrorRequest - ADM = AdminMessageRequest
2019-06-07parsing - Added bytes as a primitive typeSatya Ortiz-Gagne
2019-06-07DAIDE - Added utils str_to_bytes() and bytes_to_str()Satya Ortiz-Gagne
2019-06-07DAIDE - Added ability to parse clausesSatya Ortiz-Gagne
- break_next_group - add_parentheses / strip_parentheses - parse_bytes / parse_string - SingleToken clause - Power clause - String clause - Number clause - Province clause - Turn clause - UnitType clause - Unit clause - Order Type clause - Order clause
2019-06-07Map - Validating that coast without '/' are adjacent to nearby water locsPhilip Paquette
2019-06-07Fixed incorrect path in maps/tests/test_map_gen.pyPhilip Paquette
2019-06-07Power - Clearing dislodged units on clear_units()Philip Paquette
2019-06-07Map - Adjacency for invalid unit is always falsePhilip Paquette
2019-06-07DAIDE - Added message class that can be parsed from a streamPhilip Paquette
2019-06-07DAIDE - Added tokens with byte representationPhilip Paquette
2019-05-28[WebDip] - Providing a "convoyPath" for moves using a convoyPhilip Paquette
2019-05-21[web] Update ReactJS dependencies.notoraptor
2019-05-20WebDip API - Logging phase when submitting ordersPhilip Paquette
2019-05-19Prevent duplicate units and centers with set_units and set_centersPhilip Paquette
2019-05-19Integration with webdiplomacy.netPhilip Paquette
- API to send GET and POST requests - Orders to convert from and to webdip.net format
2019-04-18Refactored get_all_possible_orders for 2.5x speed improvementPhilip Paquette
- Returning all locations at once - Removed 'loc' argument from method - Map has pre-computed attribute dest_with_coats
2019-04-18Updated pylint to v2.3.0Philip Paquette
2019-04-18Added pure map with svg renderingPhilip Paquette
2019-04-18Deprecated support for A WWW - XXX - YYY - ZZZ (explicit multi-step convoy)Philip Paquette
- Order expansion will convert the order to 'A WWW - ZZZ VIA' - set_orders without expansion will reject the order as an invalid move order
2019-04-18Add _unit_owner caching (#11)Setepenre
2019-04-18Upgraded pylint to v2.2.0Philip Paquette
2019-04-18Removed non-ascii characters in python filesPhilip Paquette
2019-04-18SortedDict - Added reversed_items() iteratornotoraptor
2019-04-18Added maps 'standard_age_of_empires_2' and 'standard_fleet_rome'notoraptor
2019-04-18game_id - Using a random stream of 96 bits encoded as base64Philip Paquette
2019-04-18#809 - Seed for derivative maps should use same zobrist hash as parent mapPhilip Paquette
- Using the nb of locs and the sorted list of supply centers to compute the initial seed used to compute the zobrist hash - Child and parent maps should have compatible zobrist hash if the number of locs and the list of SCS is the same.
2019-04-18Added ambiguous provinces to empire, modern and world mapsnotoraptor
2019-04-18DATC 6.K.2 - Testing support of fleet in failed convoyPhilip Paquette
2019-04-18[python] Update SMALL_MAPS in convoy_paths with newly created maps.notoraptor
[web] Update npm packaqges requirements. [web] Fix province controller parsing.
2019-04-18DATC 6.K.1 - Testing Civil Disorder (W1901A) with 1 order and 2 to removenotoraptor
2019-04-18PriorityDict - Removed infinite recursion in Python 3.6.7notoraptor
2019-04-18Map - Modified norm() and compact()notoraptor
- Added 'loc' arg to get_order_status - Raising exception on set_orders for invalid power - Deprecated game.distribute_orders
2019-04-18Web - Fixed issue when hovering over a province with no ordersnotoraptor
- Checking if there are available orders for a province when hovering over it.
2019-04-18Added 'age_of_empires' map and added alias for 'ancmed'notoraptor
- Added Carthage? as an ambiguous alias - Added 'Tyrrhenian Sea' as an alias for 'Tyrrhenean Sea'
2019-04-18Removed dependency on numpyPhilip Paquette
2019-04-18Release v1.0.0 - Diplomacy Game Engine - AGPL v3+ LicensePhilip Paquette