fix percentage bar fill
This commit is contained in:
parent
29e3e70712
commit
ef134a9a6e
7
cup.nim
7
cup.nim
@ -7,11 +7,12 @@ when isMainModule:
|
||||
b.init
|
||||
b.setState(config.state, [])
|
||||
b.diceRolled = config.diceRolled
|
||||
echo b.showSpaces(1, 16)
|
||||
|
||||
let legScores = b.getLegScores
|
||||
let gameScores = b.randomGames(1_000_000)
|
||||
|
||||
echo b.showSpaces(1, 16)
|
||||
echo "\nCurrent leg probabilities:"
|
||||
echo legScores.showPercents()
|
||||
|
||||
let gameScores = b.randomGames(1_000_000)
|
||||
echo "\nFull game probabilities (1M simulations):"
|
||||
echo gameScores.showPercents()
|
||||
|
Loading…
x
Reference in New Issue
Block a user