Alicechess

Latest version: v3.0.0

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

Scan your dependencies

Page 1 of 2

3.0.0

_2023-09-11 23:36_

- Fixed bug where castles and en passants were not registering
- The special moves were being saved according to the position of the piece,
but were being accessed according to the id of the piece.
- Moved castling ability logic to `GameState` rather than per-piece (1)
- The ability of the FEN string to exactly regenerate a board state implies
that the castling ability for a color should be saved at the game level, not
the piece level.
- This change also replaced the `has_moved` property of `Piece` with the
`is_at_start_pos()` method.

2.5.0

_2023-09-03 15:35_

- Cached move calculation for repeating board states
- Set required Python version to Python 3.11
- The code uses `typing.Self`, which was introduced in Python 3.11. For type
hint reasons, we will not remove it, and so the minimum required version
will have to be Python 3.11.
- Since this change broke v2.4.0, it has been yanked.

2.4.0

_2023-09-03 15:13_

- Cached move calculation for repeating board states
- Downgraded required Python version to Python 3.8 (was 3.11 before)

2.3.0

_2023-06-10 10:26_

- Improved debug printing for windowed games (and added ability to toggle debug)
- Added keyboard actions to the window

2.2.1

_2023-06-09 20:31_

- Updated readme for new command-line arguments

2.2.0

_2023-06-09 14:22_

- Added command-line parsing to allow launching a game between builtin players
- Added threefold repetition rule
- Tweaked castling and en passant abilities
- According to the linked rules (should have read it thoroughly!), there were
some potentially incorrect moves (either missing or unnecessarily present)
that could have been generated.
- Tweaked possible move calculations: move must be valid on current board, but
not necessarily on both boards
- According to the linked rules (should have read it thoroughly!!!), a piece
may teleport into a position to block check, since the move was valid on the
board it was on (the king was not in check on that board), and the move is
legal because the king is no longer in check.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.