Skip to main content

F010 — Chip Denominations

Business Rule

The game provides a fixed set of chip denominations (in pence) that players can select when placing bets. The chip selector displays one chip button per denomination. Clicking a chip button sets the active stake amount for the next bet placed on any live hand. The denominations define:
  • The minimum possible bet (chipsList[0])
  • The maximum possible bet (chipsList[last])
These bounds are communicated to the GDK at game initialisation via the InitStatus message.

Denomination Sets by Version

The UMA client uses a different denomination set configured in platform.js. This is a deliberate platform-level configuration, not a bug. The GDK chip selector renders one button per entry.

JavaScript Reference

Source: hedgeem-v4/odobo/src/js/buttons.js
activeBetChip (0-indexed) tracks the currently selected chip. Clicking a chip button updates activeBetChip and highlights the selected chip.

TypeScript Implementation

Source: standalone_reference_client/src/scenes/GameScene.ts
Six chip buttons (chip1–chip6 sprites) are created at scene init. Clicking selects the denomination; the active chip is highlighted with a chipGlow image.

UMA Implementation

Source: gameClient/builds/hedgeem/platform.js
CHIPS_LIST is passed to the GDK in the game:InitStatus message:
The GDK (game.min.js) renders the chip selector UI from this list. The platform layer also exposes these values for Playwright testing via the state bridge:
Set at HOLE init time (when game:InitStatus is sent), before the first bet.

Acceptance Criteria

UMA-testable ACs (via state bridge)

Version Parity

Test Coverage

Playwright spec: tests/features/F010-chip-denominations.spec.ts — AC1–AC6 (UMA). Run with:
  • F011 — Bet Placement (uses active chip denomination to set stake amount)
  • F029 — Chip Selector UI (renders the chip buttons from this denomination list)
  • F016 — Credits Wallet (balance must cover the selected chip denomination)