# Changelog

The package carries one version number. It is shown on the package's first page, in the requirements, in the back office and in the game, so there is never a doubt about which build is open.

## 1.2.0 — 25 September 2026
- A single design pass over the room: one spacing scale, one type scale, and one radius for every panel.
- Prize plaques are equal in size and left aligned, and their badges (NEXT, WON, CLOSED) sit **inside** the plaque so nothing overlaps a neighbour.
- The draw sits in its own panel, centred, with the winner line pinned along its bottom.
- The board is a panel of its own with even rows.
- Card headers always fit: a short card number on the left, how many numbers to go on the right.
- The prototype bar moved off the cards.

## 1.2.0 — 27 September 2026
The room screen, approved. Layout, readability and the win moment.

**Desktop**
- Room facts, the draw, the closest cards and the prize stack in one band; my cards below it; the board of 75 numbers last.
- The side column spans both rows, so the draw band is only as tall as it needs to be and the cards start high on the screen.
- The ball fills the space that used to be empty; the machine, counter and last balls scale with the window.

**Phone**
- The player's cards are on the first screen: nine cards fully visible, twelve after one short scroll.
- Order: room line, the draw, a one-line prize bar, my cards, closest cards, buying, the board.
- Every prize is reachable in the bar, with the one being played and the one coming next marked.
- Page height down from 2,440 to 1,397 pixels.

**Readable, everywhere**
- A marked number is painted as the cell's own background, so the digit is always on top of the daub, never under it.
- No state dims a plaque any more; ink-coloured text only ever sits on a brass plaque.
- Badges (WON, CLOSED, NEXT, WINNING NOW) have their own lane and never cover words.
- Checked with two audits: contrast of every text against its real background, and every prize state through a whole round. Both clean.

**The win moment**
- Confetti: 70 pieces for a small win, 110 for a large one, 160 for the Accumulated, in five colours and three shapes, each with its own spin and fall.
- A flash of light, the dialog popping in, and the amount pulsing, alongside the rays, coins and the winning numbers lighting one by one.

**Buying**
- Buying while a round is running now asks first: it explains that the round has started, shows cards, round and price, and charges only on confirm.

**Cards**
- S, M and L set the card size, and the grid recomputes how many fit in a row.
- The sort by closest-to-winning animates at most once every 1.4 seconds, so the row never looks restless.

**Under the hood**
- The room's stylesheet lives in `screens/shared/room.css`; the screen file holds structure and logic only.
- `screens/player/room-standalone.html` is the whole room in one self-contained file.

## 1.1.0 — 25 September 2026
- `CLAUDE.md`: instructions for an AI coding assistant working in the repositories — what to read, the house rules, the rules that catch teams out, and the definition of done.
- `docs/DECISIONS.md`: every decision the client made while this package was built, with the reason, so a new team does not undo them by accident.

## 1.0.1 — 25 September 2026
- The shared pattern library carries its own version, and the game and the wizard check it. If a browser or a server is holding an older copy, the page says so and tells you what to do, instead of showing the wrong step.
- All shared files are loaded with a version stamp, so a browser cannot serve an old copy after an update.

## 1.1.0 — 26 September 2026
The room screen rebuilt, and it fits every screen.

- **One layout, decided in one place.** The room's stylesheet was rewritten from scratch and moved to `screens/shared/room.css`; the screen file holds structure and logic only.
- **Desktop:** room facts, the draw, the board beside the balls, and prizes, closest cards and buying stacked on the right. My cards run along the bottom. The page is short enough to sit in an iframe.
- **Phone:** five fixed bands — room facts, a live draw strip, prizes, tabs, and one panel. Nothing scrolls except inside a panel.
- **Every card on screen, always.** Big cards when they fit at a readable size, tiles otherwise, with a tap to enlarge one and a manual All / Big switch.
- **Single, Double and Triple Bingo** are counts of completed shapes, chosen per prize in the wizard's new step 3.
- The next prize shakes, glows and carries a NEXT badge; a won prize stays readable and is marked WON; a closed level is marked CLOSED.
- The board of 75 numbers has stronger contrast.
- Shared files carry a version stamp, so a browser can no longer serve an old copy.

## 1.0.0 — 25 September 2026
First complete Phase 1 package: requirements, the game, the back office, both APIs, the rule engine and the documents.

**The game**
- One room page per room, addressed by its code (`room.html?room=R-000023`), embeddable by the casino platform in an iframe. No lobby.
- One screen with no page scrolling: room facts, prizes, the draw, the board, closest cards, buying, and every card the player owns along the bottom.
- The Bingo Hall design: velvet felt, brass fittings, ivory paper cards and lit balls.
- The prize being played is brass, a won prize stays readable and is marked, and **the next prize shakes, glows and carries a NEXT badge**.
- The caller reads every ball out loud; a prompt on the way in asks for sound once.
- Packages are sold inside the room; buying is for the next round while one runs.
- A phone shows the same screen with four tabs: My cards, Closest, Numbers, Buy.
- 17 screen states, from an expired link to a cancelled round.

**Rules**
- 75 balls, a 5 × 5 card, and prizes played in order.
- **Single, Double and Triple Bingo are counts of completed shapes**, from a set chosen per prize: Any Line, Hard Bingo, Postage Stamp, Four Corners, Large Diamond.
- All the other patterns stay single shapes, including Cover all for a first and a second player.
- Fix or Progressive per prize, with sub games, win balls that rise, and a Game Prize.
- No minimum number of players: a round always runs.

**Back office**
- The 12-step game wizard with a 10,000-round simulation.
- Games, one game with its profit and loss, rounds with every card, pools, packages, reports, players, platform log in and out, users and roles, audit and settings.
- **Rooms and embed codes**: every room with its code, address and a ready iframe snippet.

**For the team**
- `engine/`: the rules as runnable code with 16 acceptance tests, and the draw verification tool.
- `api/`: both APIs in Swagger with an offline reference.
- `integration/`: the five platform calls, mocks for both sides and 20 conformance tests.
- `docs/`: developer kit, AI build guide, operator guide, compliance, repository layout and the launch games.
