Skip to content

Rules and Rules!

Pre-release
Pre-release
Compare
Choose a tag to compare
@a2ys a2ys released this 30 Sep 14:53
· 48 commits to master since this release

The project contained some bugs so I fixed that and added many new features described below, and now the project is bug free. I'll now work on other major features.

Major Changes/Additions

  • Move rules have been defined in the game, now chaos has been settled :)
  • Now the legal moves will be highlighted upon clicking any piece.
  • Implemented a function which checks if the king is in check.
    • When in check, only the king can be moved, or any piece can be moved to block the check.
    • The piece defending the check will be pinned.

Bug fixes:

  • Fixed a bug which caused the program to crash when the Pawn reached the end of board by fixing IndexError for rank and file in moves.py.
  • When king is captured, it will throw a custom error which depicts the program has a bug.
  • Fixed the bug where pawns were able to jump over pieces on first move. (This was hilarious to see 😂)

Changes in GUI and UI

  • The color scheme has been updated to be more elegant to the eyes.
  • Custom sounds are produced depending on sounds of moves.