Socha

Latest version: v2.2.2

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

Scan your dependencies

Page 5 of 6

1.0.0

What's Changed

0.9.9

What's Changed
* implement the survive feature

It is now possible to let the client run when the game is over and the server closes its connection. This is very practical if the client is to play several games in succession. The test server is recommended for this, as it works without a UI and you do not have to start the game manually each time.

If this feature wants to be used, then this method must be implemented from `IClientHandler` and reconnect to the server and join a game.
python
def while_disconnected(self, player_client):
player_client.connect_to_server()
player_client.join_game()


It should also be noted that the starter requires the argument `survive=True` so that the client is not terminated when the servers closes the connection.
python
Starter(logic=Logic(), survive=True)


**Full Changelog**: https://github.com/FalconsSky/socha-python-client/compare/v0.9.8...v0.9.9

0.9.8

*Please consider using Python 3.11 as this version has improved its performance and error messages.*

What's Changed
* remove the `Coordinate`-Class with all its corresponding methods
* fix an import error in `player_client`


**Full Changelog**: https://github.com/FalconsSky/socha-python-client/compare/v0.9.7...v0.9.8

0.9.7

What's Changed
* Solve a problem that prevented the method `on_game_over` not getting executed.
* Splitt the `Coordinate`-Class into `CartesianCoordinate` and `HexCoordinate`.
* Expansion of the logging function. There is now a verbose option.


**Full Changelog**: https://github.com/FalconsSky/socha-python-client/compare/v0.9.6...v0.9.7

0.9.6

> Please make sure to check that you have the current version with `pip freeze`

What's Changed
- Remove the method `get_most_fish_moves` as this is an extended logic which is not permitted as students should develop methods like this themselves.
- Resolve a bug that prevented the client from moving if the client was the starting player and the opponent did not repond fast enough.

**Full Changelog**: https://github.com/FalconsSky/socha-python-client/compare/v0.9.5...v0.9.6

0.9.5

What's Changed
- the client runs now on python 3.6 or later

Page 5 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.