Aller au contenu

Changelog

tilttek/spotlight

Pas encore traduite

Cette page n'est pas encore traduite en français ; elle est présentée en anglais.

Français

All notable changes to tilttek/spotlight will be documented in this file.

Updates should follow the Keep a CHANGELOG principles.

0.1.0-alpha - 2026-11-29

Added

  • Table, PlayerShare, Visibility and FairnessPolicy: a table of 1 to 20 players in seat order, each with the time they held the scene, their scenes, the end of their last scene and since when they wait, the counts for the game master or the whole table, and a player behind below a part of the fair share after a warm-up, bounded and checked.
  • Spotlight: a table opened with no one holding the scene, read from a PSR-20 clock; it keeps no state between calls.
  • Spotlight::give() and release(): the scene given to a player or taken back, the scene in progress counted.
  • Spotlight::giveNext(): the scene to the first raised hand, else to the player who held it the least, who waited the longest since their last scene at equal time, the first in seat order at equal waits.
  • Spotlight::raiseHand() and lowerHand(): the queue of raised hands, first come first, a player given the scene taken out of it.
  • Spotlight::pause() and resume(): the count stopped and run again, a scene given while paused starting paused.
  • Spotlight::join(), leave() and close(): a player seated last or gone with their count, and the table closed, changing no more.
  • View\SpotlightView and View\PlayerSpotlight: each player's time, scenes, share in basis points, place in the queue, wait, time since their last scene and whether they are behind, the next player, as plain data for the game master, and without the counts for a table that does not see them.
  • The events TableOpened, SceneGiven, SceneEnded, HandRaised, HandLowered, SpotlightPaused, SpotlightResumed, PlayerJoined, PlayerLeft and TableClosed, by identifiers only, told once to a Contract\SpotlightObserver.
  • Contract\TableStore, kept at a version, and Store\InMemoryTableStore for tests.
  • The exceptions InvalidSpotlight, SpotlightRefused, SpotlightNotFound and SpotlightConflict, under SpotlightException.
  • A benchmark of the view of a full table and of 1 000 scenes passed on.
  • The documentation in doc/, one file per topic, indexed by the README.
  • CONTRIBUTING.md, SECURITY.md and CODE_OF_CONDUCT.md.