/pgx-connectfour

PGX - MCTX - JAX ConnectFour example converted to use a browser interface instead of a Jupyter notebook

Primary LanguagePythonMIT LicenseMIT

PgxConnectFour

A version of this example game that uses Google's PGX and Monte-Carlo Tree Search in JAX to play Connect Four. The original Jupyter notebook version had stopped working over time. I reimplemented it as a real browser-based game using NiceGUI.

To run the game

  • At a command prompt, type make install to install the Rye dependency manager on your system (if needed). After Rye is installed, it will download the supporting Python libraries inside a virtual environment.
  • Once the install has completed, type make run to launch the game.