aboutsummaryrefslogtreecommitdiff
path: root/diplomacy/engine
AgeCommit message (Collapse)Author
2019-07-18Open DAIDE port on game loading and display on webnotoraptor
- Open DAIDE port on game loading too, and [web] Display DAIDE port on game title. - [server] Also delete backup game file when deleting game. - [python] Add optional parameter `server` to ServerGame constructor to init server game with a server as soon as it is possible. Add field `daide_port` to Game for client games. When creating game, register it on server before generating client games, so that DAIDE ports are known on client game generation. Move DAIDE port opening into Server.add_new_game() and Server.get_game(), so that port is opened as soon as a new game is added or a game is loaded. Move DAIDE port closing for specific game into Server.delete_game(). Add DAIDE port to client game field daide_port if known. [web] Display DAIDE port if available in game title on game page. - [python] Display game ID in log when opening DAIDE port. - [server] Close DAIDE port as soon as game is done. - Update dependencies.
2019-07-16Web - User should auto-pass when no orders are possible. (#43)notoraptor
- Set default empty orders set for unorderable powers after a processing. - Set wait to False for unorderable powers. - Notify powers wait flags when sending game processed notifications. - Do not send empty orders set for unorderable powers in network test.
2019-06-14Using OrderResults to indicate the correct order results during adjudicationPhilip Paquette
- Modified DATC tests for consistency
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-07Map - Validating that coast without '/' are adjacent to nearby water locsPhilip Paquette
2019-06-07Power - Clearing dislodged units on clear_units()Philip Paquette
2019-06-07Map - Adjacency for invalid unit is always falsePhilip Paquette
2019-05-19Prevent duplicate units and centers with set_units and set_centersPhilip Paquette
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-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-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-18DATC 6.K.2 - Testing support of fleet in failed convoyPhilip Paquette
2019-04-18DATC 6.K.1 - Testing Civil Disorder (W1901A) with 1 order and 2 to removenotoraptor
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-18Removed dependency on numpyPhilip Paquette
2019-04-18Release v1.0.0 - Diplomacy Game Engine - AGPL v3+ LicensePhilip Paquette