GeorgesCoding / Chess

Chess game with an AI engine developed using the PyGame module
MIT License
4 stars 0 forks source link

Finished horizontal wrapping, added stalemate #4

Closed GeorgesCoding closed 6 months ago

GeorgesCoding commented 6 months ago

Finished horizontal line wrapping, so longer phrases will be included in one line rather than splitting it into two. Also added dynamic line allocation, so the number of dialogue lines will be dynamically determined through the screen height size. Included various stalemate cases including only two kings remaining, one knight/bishop vs a single king or both sides with only bishops of the same colour. Under these four scenarios, it is impossible to checkmate, therefore leading to a stalemate draw.