Skip to content

anwaralameddin/2pg

Repository files navigation

Two-Player Game (2PG)

CI

A testbed for two-player game agents. It's currently under development and is limited to three games: Connect Four, Othello, and Tic Tac Toe.

Usage

In a Python 3.11 environment, install the requirements

pip install -r requirements.txt

and run the package

python -m two_player_games -m <model> -v <view> -a1 <agent1> [-d1 <depth1>] -a2 <agent2> [-d2 <depth2>]

Supported Games

Supported Views

  • Hidden (hidden)
  • Pygame (pygame)

Supported Agents

Example

python -m two_player_games -m tictactoe -v pygame -a1 human -a2 maximin-naive -d2 6

Releases

No releases published

Packages

No packages published

Languages