The game is complete! (without AI)
A playable game
I've worked a lot on this project, and since I was alone I had to take care of many things, the hardest being the testing for bugs, but still the game is bug-free, with some hidden in the far corners, which I'll try to eliminate. Still the engine is slower, first due to it being written in Python, and second one being the algorithmic efficiency of the program, which reaches a polynomial time-complexity fairly easily.
Major additions
- Developed the checkmate function, and added a custom sound for checkmate.
- Developed all the special moves, free from bugs (mostly) namely Castling, Pawn Promotions and En-passant
- Developed the stalemate function, and added a custom sound for it.
- Extended support for FEN string up-to castling, others will be added in the upcoming updates.
- Added a really important feature, unit-testing, as checking for every move not not possible artificially, although the program is failing the tests after the fourth move, which I'll try to fix to the extent I can.
Bug fixes:
- Promotion causes every other move to fail
- Fixed many castling bugs
- Fix the thin white lines on border of window, they were caused by board dimensions not being a multiple of 8, as the fractional part is ignored for a better GUI.