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

  • Handle pawn promotion
  • 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.9.2.tar.gz (15.2 kB view details)

Uploaded Source

Built Distribution

nerdchess-0.9.2-py3-none-any.whl (19.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nerdchess-0.9.2.tar.gz
  • Upload date:
  • Size: 15.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.9.2.tar.gz
Algorithm Hash digest
SHA256 31df18bcc229ed7513c012c8e28691705aa3106cb8b859047aa425b48754ef2e
MD5 fd818f97789116e691a1582b7ed7c948
BLAKE2b-256 db806c12960486fc2c9182f4d369055082468938c343030454913f8eda06eb15

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nerdchess-0.9.2-py3-none-any.whl
  • Upload date:
  • Size: 19.3 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.9.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c5a7d755963c988739164fe68ff61b6425af5cde9622201ab26595b8c50ea732
MD5 94c4de2fa94b589c1c861f207f518fcb
BLAKE2b-256 d8b68ecf4d12e7fa5fa4570591fd98a5e31c85a1f1cf4f1cf1ac902e071c9daf

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