ribesstefano / briscola-gym

A gym environment modeling the Italian game of briscola.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

A gym environment modeling the Italian game of briscola.

License:Apache License 2.0


Languages

Language:Jupyter Notebook 50.9%Language:Python 49.1%