Skip to main content

A Python chess engine.

Project description

Python package

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nerdchess-0.4.tar.gz (13.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nerdchess-0.4-py3-none-any.whl (16.9 kB view details)

Uploaded Python 3

File details

Details for the file nerdchess-0.4.tar.gz.

File metadata

  • Download URL: nerdchess-0.4.tar.gz
  • Upload date:
  • Size: 13.7 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

Hashes for nerdchess-0.4.tar.gz
Algorithm Hash digest
SHA256 9512db75ddd7be6032538b2bbaecc17c32fabaa23a70e5c5975ad1104356cd04
MD5 04fa6b134e9bf89d06df2af23eaf5f03
BLAKE2b-256 7fd177d90a15a887a65575840adbd2ea31b862c0cb624bf4e88abddbdcbf1feb

See more details on using hashes here.

File details

Details for the file nerdchess-0.4-py3-none-any.whl.

File metadata

  • Download URL: nerdchess-0.4-py3-none-any.whl
  • Upload date:
  • Size: 16.9 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

Hashes for nerdchess-0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 b59a86be1ff81a1c74b9ed954ab041f9ed8bf2dd3b6143438f769b1a3eef0d59
MD5 ea58aeb32d7b2b83fc0d7a21c4486daf
BLAKE2b-256 ad5882f1f6c38ac715df43162dd68eec024de666cc1827a84d9b3f38731bf49d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page