Skip to content

Reference

tilttek/bingo
TypeRole
BingoCreates games, deals and prints cards, calls squares, records and cancels gestures, claims, checks by serial or label, and closes
BingoGameA game: pool, grid, patterns, mode, cards dealt, squares called and winners, at a version
CardA card, a player's or printed: serial, layout, ticks and win, at a version
CardDealerDraws a layout and a label from the server's secret; the fingerprint of a layout
SerialLabelThe label of a printed card: its serial and check code, read as typed
ClaimWhat the server found on a card: the cells ticked and the pattern won with
TickModeActivity or Called
Square, SquarePoolA square, and the pool cards are drawn from
TriggerThe gesture that ticks a square
GridThe size of a card and its free centre
WinPattern, WinPatternsA way to win, and the ways of a game in order
Activity\BingoActivityObserverTicks and unticks the cards from the activity journal
Contract\BingoStoreWhere the games and cards are kept
Store\InMemoryBingoStoreThe store in memory
Event\BingoWon, SquareTicked, SquareCalledSee Celebrations
View\CardView, View\CellViewWhat the card template shows
View\PrintedCardViewWhat the template of a printed batch shows of each card
Mercure\BingoPublisherPushes the calls, the wins and the ticks through Mercure
Exception\BingoException, InvalidBingo, BingoRefused, BingoConflictSee Exceptions

Identifier is internal.

The template templates/card.html.twig and the Stimulus controller card, in assets/, are described in Celebrations; the template templates/print.html.twig in Printed cards.