Skip to main content

A Python chess engine.

Project description

Python package

NerdChess

A chess engine written in Python.

They might not be 100% complete yet, but see the docs for implementation details

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

  • It's possible for pawns to capture forward
  • 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.7.tar.gz (14.1 kB view details)

Uploaded Source

Built Distribution

nerdchess-0.7-py3-none-any.whl (18.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nerdchess-0.7.tar.gz
  • Upload date:
  • Size: 14.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for nerdchess-0.7.tar.gz
Algorithm Hash digest
SHA256 07012fa7884b0b95418dee8d452351427c59878dc1a3f8c917a75ec07e4e214e
MD5 4a329ac5bc14f19f9afc8d832d9bf72d
BLAKE2b-256 78aa5fdd8c06f4f73b25213c179b13a04cc9069d54150d8ec85a8100dcbf88ff

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nerdchess-0.7-py3-none-any.whl
  • Upload date:
  • Size: 18.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for nerdchess-0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 16ff1249684ee269f358a2de0c7b8f0faa0b8ca9cfa8620d6038420e2cf71b71
MD5 bbe6921acea2f8627baa07cdc5461f36
BLAKE2b-256 e9213fef0a69b5cd0ee4a53604dcb0643ff38ada13d02fe1037fc4c5ed037e78

See more details on using hashes here.

Supported by

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