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.8.3.tar.gz (14.2 kB view details)

Uploaded Source

Built Distribution

nerdchess-0.8.3-py3-none-any.whl (18.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nerdchess-0.8.3.tar.gz
  • Upload date:
  • Size: 14.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 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.8.3.tar.gz
Algorithm Hash digest
SHA256 357428955914dbedbaa5625603670fe7533f4e769c22d159b56a1bdd077201cf
MD5 966fb97ba5eec3476d754f2d48a89dae
BLAKE2b-256 cc37966fad8814243834db0f8a53fdca7f64321574ab46ff97a0277e1909d677

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nerdchess-0.8.3-py3-none-any.whl
  • Upload date:
  • Size: 18.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 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.8.3-py3-none-any.whl
Algorithm Hash digest
SHA256 62a2bd67d1b0ee4f6744e0a8fee2eb326d0cb10a5de181088a582412be0c4eb7
MD5 4aad502cabc886c6a7a48270744205b5
BLAKE2b-256 cb2be8d1a59fcbe43ef389e2c71e298db1aa3bcda4e1be9666642ed577312e03

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