Skip to content

Extension points

tilttek/tavern-games

The package is at 0.x: its extension points are stable only from its 1.0 release. Until then, a minor version may change them, and its CHANGELOG says how.

PointWhat an application givesWhere
Contract\TavernGameIts own tavern gamesWriting a tavern game
Contract\TurnTimerThe clock of its turns, which calls back the timeoutsTables and turns
Contract\SimulationA position whose odds it estimatesOdds
The stores of tilttek/game-engineThe log store, the state cache and the publisher of TablesInstallation
The celebrationWhat a victory plays, in its interfaceTables and turns

TavernTables, TavernGames, DiceCup and the games keep no state between two calls.