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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: nerdchess-0.8.2.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.2.tar.gz
Algorithm Hash digest
SHA256 9e9316d34ebc47e17d1cb3326323a768d4c8a0617171e7240cd098eae9950619
MD5 e95f9b1fe7b7ec3040c03a22c1bef28c
BLAKE2b-256 b0262f6b970eb69542cfdaf3482817b9912f9487081714ad07bb8221935bf5aa

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nerdchess-0.8.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e4ec2273a04dccc685c6297335e782ea703e5a938842ab5c73565b692271b493
MD5 f92bff0c26608856d9acbd38615fca61
BLAKE2b-256 73dbb5f339cd9b868fc2151d3d63d1eb88efc3d27e656276cd8779aec29a51c8

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