Skip to main content

A program to generate a chess program. Since chess is such a complex game, it is impossible to write a program for it by hand.

Project description

Chess Program Generator

A program to generate a chess program. Since chess is such a complex game with many branching paths, it is impossible to write a program for it by hand.

This tool provides a CLI to generate a simple terminal chess program.

Installation

pip install chess-program-generator

Usage

To generate the runnable chess program:

chess-program-generator [depth] > chess.py

To run the produced chess program

python chess.py

Pre-generated program

A pre-compiled program, generated to a depth of 4 ply, can be downloaded from the releases page on GitHub.

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

chess_program_generator-1.0.0.tar.gz (3.7 kB view hashes)

Uploaded Source

Built Distribution

chess_program_generator-1.0.0-py3-none-any.whl (5.0 kB view hashes)

Uploaded Python 3

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