Skip to content

Akatroj/chess-pygame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!

About

Python Chess

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages