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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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

Hashes for chess_program_generator-1.0.0.tar.gz
Algorithm Hash digest
SHA256 7a5745ee7ddb4dfcb1ee09e09a9771250395c0e88865d7b1f484833b359236e0
MD5 b8e95866ccc709d8c9c2b3cd5eabb5a2
BLAKE2b-256 531ae09907e7e23570a30f22e4d0793ce1bb9639b7e631f0531c8e2eae980998

See more details on using hashes here.

File details

Details for the file chess_program_generator-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for chess_program_generator-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4d755bb7bfad34e8dad5fe54227a14a81d1d7eee9eecdf889f5e8df5e8917dee
MD5 cd3f5d17a39feb323e575a199f63cf90
BLAKE2b-256 ef5ebe5ea06a41427cf3fd380f7b0f38147f3c05eba29104504ea48db2ca8b29

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