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

Uploaded Source

Built Distribution

nerdchess-0.8-py3-none-any.whl (18.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nerdchess-0.8.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.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.tar.gz
Algorithm Hash digest
SHA256 4f3eadcb7e7b59c1a4efbf0b9c8039d6f0657a99b5b694dfad95500e8e80088e
MD5 772dca04bc87cb3593c58953208a1bf4
BLAKE2b-256 87b928f7e41ef9ecb2dda3dc7d19d427ee97753a4b8851763fa0b0bf795768a0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nerdchess-0.8-py3-none-any.whl
  • Upload date:
  • Size: 18.1 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-py3-none-any.whl
Algorithm Hash digest
SHA256 3a8ebbecf746433a9654f45f08c855390204e803467c1a5dc40c27d9b88fdab5
MD5 b8d667d867fe6c97ca9cd61361f52bc6
BLAKE2b-256 c815eddcb05e94d795b0d062d60964e33c62a71b0a616b28ea3bcbb8c5403c25

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