Diplomacy

Latest version: v1.1.2

Safety actively analyzes 681866 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

1.1.2

**Release Notes**:

* Fixed 105 - Set is not JSON serializable

1.1.1

**Release Notes:**
- Implemented a public API documentation at http://docs.diplomacy.ai
- Added ability to load a custom map with Map('/full/path') and Game(map_name='/full/path')
- Added ability to use a custom SVG for rendering
- game.render() now accepts a 'output_path' arg to save rendered image to disk
- Deprecated arg 'create_user' in connection.authenticate(username, password)
- Added 'output_path' and 'output_mode' to to_saved_game_format
- Added methods 'from_saved_game_format' and 'load_saved_games'
- Added an internal prebuilt cache of convoys for common maps
- Migrated tests to Travis CI

1.1.0

**Release Notes:**
- Added an API integration with webdiplomacy.net
- Implemented a DAIDE server and mapper for DAIDE-compatible clients
- Improved the display of messages on the web interface
- Deprecated support for Python 3.4
- Simplified the "Create Game" workflow on the web interface
- Refactored SVG maps into React components for faster rendering
- Added SVG maps for 'ancmed' and 'modern'
- Added the ability to play on 'ancmed', 'modern', and 'pure' on the web interface
- Added better documentation
- Various bug fixes

1.0.1

**Release Notes**:
- Package is now compatible with Pypi (MANIFEST, setup.py)
- Removed dependency on numpy
- Added DATC 6.K.1 - CD with 1 order and 2 to remove
- Added DATC 6.K.2 - Testing support of fleet in failed convoy
- Added '*_age_of_empires' maps
- Added rendering for 'pure' map
- Deprecated support for explicit multi-step convoy (A XXX - YYY - ZZZ)
- Various bug fixes and speed improvements

1.0.0

Initial release

**Release Notes**:
- Implemented DATC-compliant game engine with web interface
- Released under AGPLv3+ license

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.