API Reference riichi v#0.2.0

Copy Markdown View Source

Modules

Definition of engine input types, which we call Actions. They represent all operations a player can perform.

Implementation of the hand decomposition algorithm.

Internal Implements the game state machine.

Internal Contains functions listing allowed actions for given engine state. Serves as the backbone for validating submitted actions.

Internal Defines the structure of the state backing the game state machine

Definition of engine output types, which we call Events. They represent everything that can happen in the game.

Internal Yaku detection algorithm.