Age | Commit message (Collapse) | Author |
|
- Reformatted the docstring to be compatible
- Added tests to make sure the documentation compiles properly
- Added sphinx as a pip requirement
Co-authored-by: Philip Paquette <pcpaquette@gmail.com>
Co-authored-by: notoraptor <stevenbocco@gmail.com>
|
|
|
|
This will help using the function even with derived classes.
|
|
- Fixed bug with incorrect dislodged unit on pure map
- [python] Make sure dummy powers are registered only for standard maps.
- Hardcoded supply centers into SVG files.
- Removed supply centers CSS classes.
- Update positions for units and dislodged units on all maps.
- Converted SVGs to React.
- Removed "sym" classes and hardcode related styles into symbol definitions.
- Reordered map list (standard at top, then other ones in alphabetical order)
- Displayed + button for all maps and disable it for maps without variants.
- Minified generated code when converting SVG files to React.
- [web] Added ability to hide/display map abbreviations.
|
|
- 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.
|
|
|
|
- Modified DATC tests for consistency
|
|
- Ability to open and close port when DAIDE games are started and stopped
- Can get the DAIDE port using a request
|
|
|
|
- OK, NO_CONVOY, BOUNCE, VOID, CUT, DISLODGED, DISRUPTED, DISBAND, MAYBE
|
|
components
|
|
- 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
|
|
|
|
|
|
- Returning all locations at once
- Removed 'loc' argument from method
- Map has pre-computed attribute dest_with_coats
|
|
|
|
|
|
|
|
|
|
[web] Update npm packaqges requirements.
[web] Fix province controller parsing.
|
|
|
|
- Added 'loc' arg to get_order_status
- Raising exception on set_orders for invalid power
- Deprecated game.distribute_orders
|
|
|