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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file chess_program_generator-1.0.0.tar.gz.
File metadata
- Download URL: chess_program_generator-1.0.0.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.9.17 Linux/5.15.0-1041-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7a5745ee7ddb4dfcb1ee09e09a9771250395c0e88865d7b1f484833b359236e0
|
|
| MD5 |
b8e95866ccc709d8c9c2b3cd5eabb5a2
|
|
| BLAKE2b-256 |
531ae09907e7e23570a30f22e4d0793ce1bb9639b7e631f0531c8e2eae980998
|
File details
Details for the file chess_program_generator-1.0.0-py3-none-any.whl.
File metadata
- Download URL: chess_program_generator-1.0.0-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.9.17 Linux/5.15.0-1041-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4d755bb7bfad34e8dad5fe54227a14a81d1d7eee9eecdf889f5e8df5e8917dee
|
|
| MD5 |
cd3f5d17a39feb323e575a199f63cf90
|
|
| BLAKE2b-256 |
ef5ebe5ea06a41427cf3fd380f7b0f38147f3c05eba29104504ea48db2ca8b29
|