Socha

Latest version: v2.2.2

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

Scan your dependencies

Page 4 of 6

1.0.6

What's Changed
* Improved package builder. It now recognises all imported modules and creates its own build directory.

**Full Changelog**: https://github.com/FalconsSky/socha-python-client/compare/v1.0.5...v1.0.6

1.0.5

What's Changed
* fix(game state): error that caused the opponent not updating by FalconsSky in https://github.com/FalconsSky/socha-python-client/pull/27


**Full Changelog**: https://github.com/FalconsSky/socha-python-client/compare/v1.0.4...v1.0.5

1.0.4

What's Changed

Added

- Added test for game state.

Fixed

- Fixed imports in test.
- make `team_enum` optional by jnccd in https://github.com/FalconsSky/socha-python-client/pull/24

Improved

- Split up `penguin` classes into separate files.
- Improved copying of objects for `penguin` which now works almost twice as fast.

Changed

- Fixed a problem in `package_builder` which is why it was copying the newly created folder again.

Removed

- Removed `setup` because it was redundant.

Other

- Manually garbage collected after object handling in `game client`.
- Added check for the current team in `starter`.
- Adjusted test for new pattern in `perform_move`.

New Contributors
* jnccd made their first contribution in https://github.com/FalconsSky/socha-python-client/pull/24

**Full Changelog**: https://github.com/FalconsSky/socha-python-client/compare/v1.0.3...v1.0.4

1.0.3

What's Changed
- fix(package builder): builder copies now script files and empty directories

- fix(reservation): error that occurred when the user tried to join with reservation code

**Full Changelog**: https://github.com/FalconsSky/socha-python-client/compare/v1.0.2...v1.0.3

1.0.2

What's Changed

- update(script): shell script to work on the system

- add(package builder): feature which will build and zip a package for the contest


**Full Changelog**: https://github.com/FalconsSky/socha-python-client/compare/v1.0.1...v1.0.2

1.0.1

**Many thanks to YoEnte and RubyKanima for their contribution.**

What's Changed

1. Classes and attributes:
- Added `Coordinate` super class
- Added `TeamEnum` enumeration class
- Added `team_enum` attribute to `Move` class
- Added `Penguin` class
- Added `penguin` and `fish` attributes to the `Field` class
- Removed color and added `name`, `fish`, `penguins`, `moves` attributes in the `Team` class
- Added `first_team`, `second_team` attribute to `GameState` class
- Removed the `Fish` class
- Adapted the methods of `GameState` to the new classes
- Moved `opponent` from `Team` to `GameState`


2. Renamed and remade existing elements:
- Remade `pretty_print` for a more concise look
- Adapted methods of `Board`
- Remade `get_teams_penguins` which returns `List[Penguin]` now
- Reworked the `NetworkSocket` class
- Reworked the `XmlProtocolInterface` class
- Reworked `GameClient`

3. Fixed bugs and issues:
- Fixed an issue with move that it no longer changes the original board
- Fixed a problem with `_get_possible_moves`
- Fixed a problem with `current_team_from_turn`
- Fixed a problem with `perform_move`
- Fixed several issues that caused crashes in socha
- Fixed a problem where it wouldn't connect to the server in auto-reconnect
- Fixed several issues that prevented the correct simulation and storing of game states in penguin
- Fixed an issue where the protocol tag doesn't get sent if auto reconnect in `XmlProtocolInterface`
- Fixed an issue where the client doesn't reconnect with auto-reconnect in `NetworkSocket`

4. Other changes:

- Added auto-reconnect feature to starter
- Changed license to MIT
- Extended history list in `GameClient`
- Added some logging in `GameClient`
- Added a doc that lists all changes from previous version, that can be found [here](https://github.com/FalconsSky/socha-python-client/blob/master/changes.md).


**Full Changelog**: https://github.com/FalconsSky/socha-python-client/compare/v1.0.0...v1.0.1

Page 4 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.