Skip to main content

Create 2D perfect information board games, and play them with machine learning systems.

Project description

license release total lines

Perfect Information Game

Creating 2D perfect information board games, and playing them with machine learning systems.

What's in this repo?

Play Against Live Models on my Website

  • Connect 4: Easy, Medium, Hard
  • Othello: Coming Soon
  • Amazons (6x6 Board): Coming Soon

Getting Started

  • Ensure Python is installed
  • Install requirements:
    pip install -r requirements.txt
  • Play a game of Connect 4 against the ai:
    python src/scripts/play_vs_ai.py
  • View games files that were generated during training:
    python src/scripts/view_game_file.py
  • Switch the active game by uncommenting the corresponding line in src/utils/active_game.py
  • For games with multiple versions, select the desired version by opening the corresponding file under src/games/ and uncommenting the corresponding line that starts with CONFIG =

How I Trained the Models

Resources I Used

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

perfect-information-game-0.0.5.tar.gz (80.4 kB view details)

Uploaded Source

Built Distribution

perfect_information_game-0.0.5-py3-none-any.whl (140.4 kB view details)

Uploaded Python 3

File details

Details for the file perfect-information-game-0.0.5.tar.gz.

File metadata

  • Download URL: perfect-information-game-0.0.5.tar.gz
  • Upload date:
  • Size: 80.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.6

File hashes

Hashes for perfect-information-game-0.0.5.tar.gz
Algorithm Hash digest
SHA256 7c87c4fb03fb19682550a044664dd5d53efe062112443c86dc7f4379cab6775e
MD5 1e7801b33c8718f6dff5bd23afa059b3
BLAKE2b-256 e97b9ca6db0007afda1886463941fcae6168f31cf875be36e13b0b48321b8054

See more details on using hashes here.

File details

Details for the file perfect_information_game-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: perfect_information_game-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 140.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.6

File hashes

Hashes for perfect_information_game-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 3497965019dd5aef4535468c8b0008c6d772714ed9707627e5e73b0a830c9755
MD5 72c865636a416530ff607ffff879169d
BLAKE2b-256 089ba40cdeb0e022f3107b290544e19f341ac389ad65a2e0f478a56635678c21

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