Skip to content

Latest commit

 

History

History
27 lines (16 loc) · 760 Bytes

File metadata and controls

27 lines (16 loc) · 760 Bytes

chess

Local chess game with full ruleset, made in Pygame.

controls:

SPACE: flip board

R: reset/new game

A: auto-flip board after each turn

1-4: change promotion (1 = Queen, 2 = Knight, 3 = Rook, 4 = Bishop)

P: print game transcript to terminal

files:

FreeSerif-4aeK.ttf: font file that is used for text and the unicode images of the chess pieces.

chess_piece_king.png: window icon image

main.py: main execution file

pieces.py: class file for the pieces

notes:

Functioning as of 23/01/21 but not fully bug tested/more features coming. Please send any feedback: basileagle@gmail.com

24/01/21: Fixed a MAJOR bug with 2 words. Line 30 of pieces.py should have read "COORDS not IN legal_moves", not "not legal_moves". Corrected in newest upload.