Skip to main content

The Chess Computer for nerds, by nerds.

Project description

Logo

Logo

 

The Chess Computer for nerds, by nerds.

RTFM badge Discord badge License badge

 

Picture by Picture

ACID Chess is a chess computer written in Python, which can be used with any? board. By filming the board, the contour of the board is recognized, and the positions of the individual pieces can be determined. Two Neural Networks were trained for the board and squares recognition.

How it works - over the board

Features

You can play against an engine, Stockfish or Maia are available, or play a game against another human. In both variants, a PGN is generated, which you can load later in the analysis board at Lichess, or so, for analysis.

  • Engine play against Stockfish or Maia
  • Use polyglot opening books
  • PGN exports
How it works - GUI

Planned Features

  • Clock
  • Play on Lichess
  • ... see issues for details

Technology

  • Python as a programming language
  • Qt (PySide6) as toolkit for the GUI (with own extension for reactive bindings)
  • PyTorch (Lightning ) for the development of AI models

I want to play against ACID!

We have tested ACID Chess with four different boards and were able to complete games without significant flaws. There will be problems on unknown boards, but every tester makes ACID Chess better!

Regardless of the chosen installation method: ACID Chess saves images of data that cannot be classified sufficiently. Please provide us with this data. Create an issue and upload a ZIP file as an attachment. <3

There are two ways to install ACID Chess.

  1. as binary: for users who want to try ACID Chess and don't want to deal with installing Python etc.
  2. check out the project via git and install the dependencies manually for people who want to develop on ACID Chess themselves.

Modern hardware, preferably NVIDIA GPU or Mac M[0-9]+ is recommended!

Known bugs and limitations

  • after switching cameras you will see an "Image capture failed: timed out waiting for a preview frame" error in the logs. Workaroud: Select camara you want to use and restart the app

Resources

Documentation

https://acid-chess.readthedocs.io

Sourcecode

https://github.com/ierror/acid-chess

Contributing

Contributions are always welcome. Please discuss major changes via issue first before submitting a pull request.

Data Attribution

Google Programmable Search Engine Rest API was used to search for Creative Commons licensed images of chess boards used for training the neural network models.

  • Notebook for collecting the data
  • CSV to document the Attribution

Contact

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

acid-chess-0.1.0rc1.tar.gz (14.6 kB view details)

Uploaded Source

Built Distribution

acid_chess-0.1.0rc1-py3-none-any.whl (14.2 kB view details)

Uploaded Python 3

File details

Details for the file acid-chess-0.1.0rc1.tar.gz.

File metadata

  • Download URL: acid-chess-0.1.0rc1.tar.gz
  • Upload date:
  • Size: 14.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.10

File hashes

Hashes for acid-chess-0.1.0rc1.tar.gz
Algorithm Hash digest
SHA256 7e06c2b73ac68e62e4db9b9c0b785acf7a660ea7d8288fcd10e2eb5df0cc3701
MD5 058bd65b289e2e7eacc808e7a1fc55d4
BLAKE2b-256 1f2b6c381772e06d84390c681ca7a019b47f3224bfac8bd7ff8ee52dd8fd53b9

See more details on using hashes here.

File details

Details for the file acid_chess-0.1.0rc1-py3-none-any.whl.

File metadata

File hashes

Hashes for acid_chess-0.1.0rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 79aac79e70431fc91bce9654a16d588379fb22d26d5798ca8af0140e512774c1
MD5 17f8075559d44e8b121732526dc413dd
BLAKE2b-256 eb4fa92b815727f2e2a53dcd647a9f589ab84e275649f3887fb261afd875097e

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