Skip to content

Chess game and Python chess engine

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE.txt
Notifications You must be signed in to change notification settings

infinitely0/chess

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chess game and Python chess engine

Play chess against the computer.

The chess engine is written in Python and uses the minimax algorithm with alpha-beta pruning to generate moves.

The default search depth is 4 and there's also a time limit of 60 seconds per move for the computer. You can change these settings in the game setup in server.py.

(I built this to learn Python and some AI concepts -- the chess engine is easy to beat unless you're a novice.)

Start the server with (requires Flask)

FLASK_APP=server.py python -m flask run

and play at http://127.0.0.1:5000/ in your browser.

About

Chess game and Python chess engine

Resources

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE.txt

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published