https://github.com/donno2048/ai-python-chess
With this code, you can play chess against artificial intelligence (no pip required!)
https://github.com/donno2048/ai-python-chess
artificial-intelligence chess gui machine-learning
Last synced: 10 months ago
JSON representation
With this code, you can play chess against artificial intelligence (no pip required!)
- Host: GitHub
- URL: https://github.com/donno2048/ai-python-chess
- Owner: donno2048
- License: mit
- Created: 2020-07-01T08:45:54.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2022-10-30T14:20:23.000Z (over 3 years ago)
- Last Synced: 2025-02-24T11:17:07.235Z (over 1 year ago)
- Topics: artificial-intelligence, chess, gui, machine-learning
- Language: Python
- Homepage:
- Size: 53.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# AI-python-chess
With this code you can play chess against an "artificial intelligence"
You're the white player
## Install requirements
```py
pip install chess
```
## Usage
```shell
py game.py
```
## Play
Click the place you want to move from, then click the place you want to move to, then press sent.
If you have pressed anything else don't worry, this program is pretty smart, just repeat the former step, the program will choose your last step.
If you press sent and the step you did is invalid the same board will be load again.
The computer is kinda slow at first but don't worry it will be faster...
## More information
the specific numbers in the program have been taken from the [incredible article](http://doras.dcu.ie/17193/1/aidan_haran_20120704093656.pdf) by [Aidan Haran](https://github.com/aidanharan) where he has already tested the numbers I would specify and 'did the work for me' I chose what he called "Aggressive Personality" (page 71) because it has 27 points, while the other configurations have: -135, 11, -72 and -12 (page 83)