Skip to main content

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.

Release files for chess-program-generator 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for chess-program-generator 1.0.0
File Size Uploaded
chess_program_generator-1.0.0.tar.gz 3.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for chess-program-generator 1.0.0
File Interpreter ABI Platform
chess_program_generator-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 8.7 kB

Release files / chess_program_generator-1.0.0.tar.gz

Download URL chess_program_generator-1.0.0.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
7a5745ee7ddb4dfcb1ee09e09a9771250395c0e88865d7b1f484833b359236e0
BLAKE2b-256 checksum
How to use checksums
531ae09907e7e23570a30f22e4d0793ce1bb9639b7e631f0531c8e2eae980998
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.5.1 CPython/3.9.17 Linux/5.15.0-1041-azure

Release files / chess_program_generator-1.0.0-py3-none-any.whl

Download URL chess_program_generator-1.0.0-py3-none-any.whl
Size 5.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4d755bb7bfad34e8dad5fe54227a14a81d1d7eee9eecdf889f5e8df5e8917dee
BLAKE2b-256 checksum
How to use checksums
ef5ebe5ea06a41427cf3fd380f7b0f38147f3c05eba29104504ea48db2ca8b29
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.5.1 CPython/3.9.17 Linux/5.15.0-1041-azure

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page