Researchers devised the dice to solve a tricky math problem: When playing a game, who goes first?