No project description provided
Project description
ChessAI
Attempt to create a decent adversary to play chess against. The game implementation used for the agents in this project is another personal project chess_python
Run the (very basic) GUI with:
pip install chess-ai-pip
python -m chess_ai.playground.chess_gui
Plan
Classical engine:
- Create "decent" agent with alpha beta pruning and minimax
- Implement Move ordering
- Implement transpositions (caching)
- Implement Iterative deepening search
This classical engine is limited by the performance of the chess game implementation (heavily)
Deep lerning agent:
- 1. Game implementation with legal moves known and value network based on plays of DL agents
- 2. Learned model, policy and value network
Evaluation of agent strenght:
Come up with a simple strength evaluator strategy that can be used to measure progress for the DL agent and baseline for classical engine agent.
- Choose an arbitrary number of positions
- Run them through an engine (stockfish) and rank all posible moves (from best to worst)
- Compare chosen move from agent to the list of moves from the engine
- Assign score based on how good is the agent choice, if agent choice is more than one (same evaluation for different positions) take the best
- Sum the score
UI
Important for testing TODO:
- Basic UI
- Play also as black inverting board
- Allow args when launching the GUI (depth, agent type, fen)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file chess_ai_pip-0.1.5.tar.gz
.
File metadata
- Download URL: chess_ai_pip-0.1.5.tar.gz
- Upload date:
- Size: 133.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.2 CPython/3.10.2 Linux/5.15.0-1022-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b3514b6df8642088253d83b72cfea6ae82cf1c430320900f52bed50d384f8bb |
|
MD5 | 3d0549d26ce73fcea4ef2080f381c52b |
|
BLAKE2b-256 | dfeeebc8992ff3902ecf730383c4eeeb85808fc28593fb7051aaefc1b98b5553 |
File details
Details for the file chess_ai_pip-0.1.5-py3-none-any.whl
.
File metadata
- Download URL: chess_ai_pip-0.1.5-py3-none-any.whl
- Upload date:
- Size: 141.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.2 CPython/3.10.2 Linux/5.15.0-1022-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f9b13c6499cdcd5929a82175f5f96972e052ccef7e933019442b801954cef90 |
|
MD5 | 462cd8d9938740a1765b812912fc9aee |
|
BLAKE2b-256 | 9d720f4171b9265464da190184f9c6989ef83a6eea3be5b7e011ad63fabfd56f |