Chess Board

Chess

Another Pygame game. Made this while on holiday in the summer of Year 10. Actually restarted this project multiple times because I thought I could improve it’s infrastructure to make the algorithms look less daunting. Unfortunately I discovered that due to the nature of the game of Chess, it is very hard to make a system where the same code can be applied to both the white pieces and black pieces, as one set of pieces always has to do a flipped version of their counterpart. This makes it incredibly difficult to make an expandable system where code can be reused for both black and white pieces.

I didn’t get very far with this project unfortunately and only implemented queening in regards to special chess rules (others being castling, en passant) and also did not implement a way to force a move when in check (although I did figure out how to do this).