CHESS-FROM-SCRATCH PACKAGE README (non-AI version):
- Ensure that you have Python3 installed on your system.
- The latest version is always best. This code was written using v. 3.12.7 (although there shouldn't be a problem with using an earlier version of Python3).
- Download and subsequently-unpack the file "chess.zip".
- Open a Terminal and navigate to the file "chess", otherwise open an IDE that can run the .py file.
- To play the game, either run in Terminal "python ChessMain.py", or choose your preferred method of running Python3 scripts.
To play the game:
- See the rules of chess, such as Wikipedia: The Rules of Chess.
- To play as white (default): click on a piece (it will appear in blue), then click on a valid square to which to move this piece (it will appear in orange); the last move made will appear in yellow.
- To play as black, white must first make a move (note that you can flip the board to be viewed from black's perspective by pressing the "F" key at any time).
- Note that, in this (non-AI) version, both players must be humans clicking on pieces and squares.
- To resize the game-window, click-and-drag with your mouse on any side or any corner of the window.
- To undo the most-recent move made, press the "Z" key.
- To RESIGN the game, first press "L"; then press "Y" to confirm. Pressing any key other than "Y", or clicking the mouse, will cancel.
- To PROPOSE A DRAW, press "D"; the turn then switches to the other player. If that player presses "Y", then the draw is confirmed; if s/he presses any other key or clicks the mouse, then the draw-offer is cancelled, the turn switches back, and you must make your move.
- To clear the board and restart, first press "C" then press "Y" to confirm. Pressing any key other than "Y", or clicking the mouse, will cancel.
- By default, all pawns promote to a QUEEN upon reaching the back rank.
- To change this behavior, press the "R" key for a ROOK; "B" for a BISHOP; or "N" for a kNight.
- After you press a key, all future promotions will become this piece, unless a player presses a different key to change his/her mind.
- To go back to promoting to a QUEEN, press the "ENTER" key.
MOST IMPORTANT: DO NOT FORGET! Have fun!