Bet and balance live in your game/UI state; the engine does not track money.
Answered
HUD, buttons & overlays
How do I show the current bet and balance?
More in HUD, buttons & overlays
- How do I wire a single spin button that also slam-stops?
- How do I disable the spin button while a spin is running?
- How do I run autoplay for N spins with a stop condition?
- How do I overlay a HUD that reads purely from board events?
- How do I draw a value label centered on a specific cell?
- How do I position an overlay using a cell's exact pixel bounds?
- How do I add clickable hit-areas per cell (pick-a-cell bonus)?
- How do I keep HUD text crisp at any board scale?