summaryrefslogtreecommitdiffstats
path: root/src/roulette.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* v4.1.1: pointer-first betting and visible payouts in the GUIsalmonik7 days1-0/+10
| | | | | | | | The felt snaps the hover to the shared fine lattice: inner half of a cell is a straight, an edge a split, a crossing a corner. A translucent chip previews the target and the covered cells tint. Left click adds the selected chip, right or middle click takes one back through the new Bets::reduce; C or CLEAR empties the slip, and SPIN stays disabled with no chips. The result now pays out: the wheel leaves the winning pocket under the pointer, the winning cell and pocket get a gold outline, and the sidebar reports the amount returned and the net for the round (NO WIN on a loss). Placing a chip after a result starts the next round without losing the wheel position. The column row now spans the full width like a real table instead of hugging the left edge. Adds tests for lattice snapping, target naming and taking chips back.
* v3.2.0: straight and split bets anywhere on the felt; add history commandsalmonik7 days1-0/+11
|
* v3.0.0: cursor-driven roulette felt with splits and corners; drop schema ↵salmonik9 days1-46/+169
| | | | migrations; require 80x24
* formattingsalmonik9 days1-6/+4
|
* v2.1.0: add European roulette with split bets and wheel animationsalmonik10 days1-0/+132