A Python chess engine.
Project description
NerdChess
A chess engine written in Python.
The goal of this project is to offer simple tools to simulate a game of chess, by offering the necessary objects like a board, pieces, pawns and players standalone. But also a complete chessgame that implements these objects and offers an interface to control the game. The package includes a small commandline chess game, but the main goal is to offer an interface to create chess games from everywhere. It should be just as easy to implement the same games of chess in a web-application with Flask, a commandline interface or some graphical desktop interface.
It's still the idea to make it possible to write AI's againt this package. But for now I'm just going to finish it's basic functionality and try to keep it in mind as much as I can while making design decisions. I'm not aiming for this to be some widely used package, and am mostly making it for fun and learning. Expect things to change a lot, and your applications to break if you don't freeze versions might you decide to use this. At least in it's current state.
TODO
- Finish the basic engine, see TODO items and use common sense to find what's missing -> seems done for now, but some testing is needed, and I need a nice front-end to test manually. The past few hundred lines of changes have solely been tested by pytest.
- Complete the basic version of the game as we go finishing the engine itself -> seems done but same as above
- Write tests -> seems done for now
- Read up on UCI and possibly implement it
- Start seperate project for a more complete TUI chessgame implementing this package
Project details
Release history Release notifications | RSS feed
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 nerdchess-0.2.2.tar.gz
.
File metadata
- Download URL: nerdchess-0.2.2.tar.gz
- Upload date:
- Size: 13.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b7f518eb4fbd6da16ca1f8ce1c3637d4bd6b144f6dfd0b56d36c8c3f7fc79ad |
|
MD5 | 910e72a6870a7a9b97542be58ed266e1 |
|
BLAKE2b-256 | 62f8ea07425ccf9882718d17ae402b02ff7755168274f744d36acfd9e0ce2640 |
File details
Details for the file nerdchess-0.2.2-py3-none-any.whl
.
File metadata
- Download URL: nerdchess-0.2.2-py3-none-any.whl
- Upload date:
- Size: 16.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 53a511978c7353d1388569f9d3d8f21fbc198b093f2c77aa20f5b9d84275420d |
|
MD5 | 9e5309febe210ae2ba40f32c8dfa3079 |
|
BLAKE2b-256 | a9559a68cb338328d47b78846e237471af4db1822655f9d98773252ec4a9f2f7 |