Require exact roll to bear off in acey-deucey games
This commit is contained in:
parent
b081b604e1
commit
4ec3c542b5
1 changed files with 1 additions and 1 deletions
2
game.go
2
game.go
|
@ -374,7 +374,7 @@ func (g *Game) LegalMoves(local bool) [][]int {
|
|||
haveBearOffDiceRoll := func(diff int) int {
|
||||
var c int
|
||||
for _, roll := range rolls {
|
||||
if roll >= diff {
|
||||
if roll == diff || (roll > diff && !g.Acey) {
|
||||
c++
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue