Skip to main content

Where deep learning meets chess

Project description

deep-chess-playground

Where deep learning meets chess.

Chess AI

This repository aims to implement techniques for neural chess engines, providing an in-depth look at the practical application of AI in chess game.

Table of contents

  1. Play chessbots on lichess
  2. Run chessbots locally
  3. Train your own chessbots

Play chessbots on lichess

COMING SOON

Run chessbots locally

Setup

It is recommended to use Anaconda for managing your Python environment, especially if you plan to use GPU acceleration. However, we also provide instructions for standard Python with pip.

Option 1: Using Anaconda (recommended)

  1. Download and install Anaconda from the official website: https://www.anaconda.com/products/distribution.

  2. Open Anaconda Prompt and run the following command to create a virtual environment:

    conda create --name deep_chess_playground python=3.10
    
  3. Activate the environment:

    conda activate deep_chess_playground
    
  4. Install PyTorch. Follow the instructions at PyTorch website. Choose the compute platform (CUDA or CPU) depending on whether you have a GPU or not.

  5. Install PyTorch Lightning:

    conda install pytorch-lightning -c conda-forge
    
  6. Install deep-chess-playground:

    pip install deep-chess-playground
    

Option 2: Using standard Python and pip

  1. Ensure you have Python 3.10 or later installed. You can download it from python.org.

  2. Create a virtual environment:

    python -m venv deep_chess_env
    
  3. Activate the virtual environment:

    • On Windows:
      deep_chess_env\Scripts\activate
      
    • On macOS and Linux:
      source deep_chess_env/bin/activate
      
  4. Install PyTorch. Follow the instructions at PyTorch website. Choose the compute platform (CUDA or CPU) depending on whether you have a GPU or not.

  5. Install PyTorch Lightning:

    pip install pytorch-lightning
    
  6. Install deep-chess-playground:

    pip install deep-chess-playground
    

Play

COMING SOON

Train your own chessbots

Data loading

Data loading

If you need a lot of training data, you can use the lichess.org open database which has more than 5 000 000 000 games recorded starting from January 2013!

Training

COMING SOON

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

deep_chess_playground-0.0.3.tar.gz (24.2 kB view details)

Uploaded Source

Built Distribution

deep_chess_playground-0.0.3-py3-none-any.whl (31.0 kB view details)

Uploaded Python 3

File details

Details for the file deep_chess_playground-0.0.3.tar.gz.

File metadata

  • Download URL: deep_chess_playground-0.0.3.tar.gz
  • Upload date:
  • Size: 24.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for deep_chess_playground-0.0.3.tar.gz
Algorithm Hash digest
SHA256 1f71b29eb96fcabc5473be316e4f2f411bcbe976904cbd7b01ebf623d6dc85d8
MD5 5128c9032ef79b9b686fcbad50184fef
BLAKE2b-256 d49cdfbfd50f9c684d69a4e7c892175bb45e53f71954413f0933c7e6fc9f469a

See more details on using hashes here.

File details

Details for the file deep_chess_playground-0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for deep_chess_playground-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c9885f76ca76449ff9cc921a1233ac3f476743db54883d2efc10b5aadee9bec0
MD5 e3a512dbe967f9391a9b6fe34eef2d57
BLAKE2b-256 db00d6714e995e337fe50ead6aa2993036f7fd8088a861404dc51ec1d88db83a

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