Skip to content

Latest commit

 

History

History
74 lines (37 loc) · 1.53 KB

Readme.md

File metadata and controls

74 lines (37 loc) · 1.53 KB

Python Chess with AI

Made by Akatroj and mario11-wiet

How to run

You need to have python 3 installed on your PC. To start playing, you can use the attached scripts:

  • On Windows

    run.bat

  • On Linux

    run.sh

or run these commands:

pip3 install -r requirements.txt || pip install -r requirements.txt
python3 src/main.py || python src/main.py || py src/main.py

How to play

You can play either vs your friend, or an AI

  • Select 'Multiplayer' to play locally against your friend.
  • Select 'Singleplayer' to play against AI.

Main menu

You can move pieces in two ways:

  • Click on a piece, and then click on the target square
  • Drag the piece from it's current position to the target square

Moving pieces

Remember about king safety

King in check

Don't forget about special moves like Castling or En passant

Castling

Have fun!