Skip to content

anwaralameddin/2pg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

b0a6491 · Jul 6, 2024

History

7 Commits
Jul 6, 2024
Jul 6, 2024
Jul 6, 2024
Jul 1, 2024
Jul 6, 2024
Jul 1, 2024
Jul 6, 2024
Jul 6, 2024
Jul 6, 2024
Jul 1, 2024
Jul 1, 2024
Jul 1, 2024
Jul 5, 2024
Jul 1, 2024

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