Releases: eliegoudout/lasvegas
Releases · eliegoudout/lasvegas
v0.2.0 – dice
- The dice of players and casinos are now stored in one matrix for simplicity. No impractical (albeit faster)
own
vs.xtr
dice lists. - Enable high rules customization (e.g. players having each others' dice in their hand, unlimited number of players, players order tweaking, ...)
- Solo playing mode available.
- Generally cleaner and more flexible structure.
- The
readme
was completely re-written.
It comes at a huge cost in time execution (~3x)...
$ git switch 0.2.0
[...]
$ python3 -m perf
Game time for policy 'None' (over 100 games):
╭─────────────┬──────────┬──────────┬──────────┬──────────╮
│ Num players │ Mean │ Std │ Min │ Max │
├─────────────┼──────────┼──────────┼──────────┼──────────┤
│ 1 │ 6.048 ms │ 653.0 us │ 5.176 ms │ 8.522 ms │
│ 2 │ 1.776 ms │ 225.0 us │ 1.533 ms │ 3.190 ms │
│ 3 │ 2.258 ms │ 200.3 us │ 1.957 ms │ 3.280 ms │
│ 4 │ 2.905 ms │ 251.4 us │ 2.523 ms │ 3.856 ms │
│ 5 │ 3.036 ms │ 246.4 us │ 2.700 ms │ 4.073 ms │
╰─────────────┴──────────┴──────────┴──────────┴──────────╯
$ git switch 0.1.4
[...]
$ python3 -m perf
Game time for policy 'None' over 1000 games:
╭─────────────┬──────────┬──────────┬──────────┬──────────╮
│ Num players │ Mean │ Std │ Min │ Max │
├─────────────┼──────────┼──────────┼──────────┼──────────┤
│ 2 │ 692.1 us │ 170.5 us │ 563.9 us │ 3.344 ms │
│ 3 │ 1.002 ms │ 559.8 us │ 683.4 us │ 8.321 ms │
│ 4 │ 1.089 ms │ 329.4 us │ 856.9 us │ 4.964 ms │
│ 5 │ 960.7 us │ 140.6 us │ 799.5 us │ 2.387 ms │
╰─────────────┴──────────┴──────────┴──────────┴──────────╯
Binaries can also be found on PyPi.
v0.1.4 – perf
lasvegas
now includes a performance sub-package.
Binaries can also be found on PyPi.