/briscola-gym

A gym environment modeling the Italian game of briscola.

Primary LanguageJupyter NotebookApache License 2.0Apache-2.0

Briscola Gym

This is a simple implementation of the Italian card game Briscola, using the OpenAI Gym interface.

Installation

pip install git+https://github.com/ribesstefano/briscola-gym.git

Usage

import gym
import briscola_gym

num_players = 2
MAX_POINTS = 120

env = gym.make('briscola_gym:briscola-v0', num_players=num_players)
num_actions = env.action_space.n  # 3
num_actions