Doubles roll as four of the same die, not two - the standard backgammon rule.
import { rollBackgammonDice } from '@datamoc/mw_games/board';const dice = rollBackgammonDice();console.log(dice.length === 2 || dice.length === 4); // true Copy
import { rollBackgammonDice } from '@datamoc/mw_games/board';const dice = rollBackgammonDice();console.log(dice.length === 2 || dice.length === 4); // true
Doubles roll as four of the same die, not two - the standard backgammon rule.