This is a simple implementation of the Italian card game Briscola, using the OpenAI Gym interface.
pip install git+https://github.com/ribesstefano/briscola-gym.git
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