over 2000 lines of code
To play the latest stable version, go to: https://github.com/BowLuckie/python-chess/releases
Open the most recent release, find the Assets section, and download the .zip file.
You can browse the source directly on GitHub, or download it locally:
https://github.com/BowLuckie/python-chess/releases
In the latest release, download the source code from the Assets section to open it in your own editor.
Running the project from source is not recommended due to current compatibility issues between Python and Pygame.
If you still want to run it manually:
- Uninstall any Python version above 3.12.x
- Install Python 3.12.x (if not already installed)
- Install required dependencies:
pip install pygame
pip install pygame_guiIf pip is not installed, download it from:
https://pip.pypa.io/en/stable/installation/
- Standard chess pieces and ruleset
- Sleek and stylish UI
- A strong AI to challenge players
- A custom set of pieces with unique rules
making a proper ai was never my intention, but the infastructure is there and there is some basic logic behind it although right now it not very strong and tends to really like certian openings
I am no longer working on this project so forks are encouraged. if you come across an issue, you can submit a issue report but im unlikely to act on it.
if wish to build a release out of the latest version, run this command. note that this will produce a non-production ready version and may be filled with bugs or unfinished features
python -m PyInstaller `
--onedir `
--windowed `
--name PLACE-VER-NAME-HERE `
--hidden-import=pygame.transform `
--collect-data pygame `
--add-data "pieces;pieces" `
--add-data "theme.json;." `
--add-data "chess_ai.py;." `
--icon=pieces/wp.ico `
menu.py