API Reference

Engine

class whot.game.Engine(number_of_players: int = 2, number_of_cards: int = 4)
num_of_players
num_of_cards
view(player_id) GameView

Get a view of the game from a player’s perspective

game_state() GameState

Get the current state of the game

start_game(*args, **kwargs)
play(*args, **kwargs)
market(*args, **kwargs)
request(suit) RequestResponse