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 changing the import in the corresponding script
  • 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.11.tar.gz (81.3 kB view hashes)

Uploaded Source

Built Distribution

perfect_information_game-0.0.11-py3-none-any.whl (170.3 kB view hashes)

Uploaded Python 3

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