This is a pygame implementation of chess. Following all rules, playing against stockfish AI, Player vs Player or AI vs AI. First upload. Needs refinement.
- You may have to install your own version of Stockfish.
- Games are automatically saved in the /data/games folder as a pgn file
- You can resize the window how you like
git clone https://github.com/JasperTresidder/Chess-pygame.git
cd Chess-pygame
python -m venv env
source env/bin/activate
.\env\Scripts\activate
python -m pip install -r requirements.txt
python Chess.py
- You may have to install your own version of Stockfish.
- Place the Stockfish application in the lit/stockfish/{your_platform}/ dictionary. and rename the application to 'stockfish'
- Place the Stockfish application in the lit/stockfish/{your_platform}/ dictionary. and rename the application to 'stockfish'