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
Close
Hashes for chess_program_generator-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a5745ee7ddb4dfcb1ee09e09a9771250395c0e88865d7b1f484833b359236e0 |
|
MD5 | b8e95866ccc709d8c9c2b3cd5eabb5a2 |
|
BLAKE2b-256 | 531ae09907e7e23570a30f22e4d0793ce1bb9639b7e631f0531c8e2eae980998 |
Close
Hashes for chess_program_generator-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d755bb7bfad34e8dad5fe54227a14a81d1d7eee9eecdf889f5e8df5e8917dee |
|
MD5 | cd3f5d17a39feb323e575a199f63cf90 |
|
BLAKE2b-256 | ef5ebe5ea06a41427cf3fd380f7b0f38147f3c05eba29104504ea48db2ca8b29 |