In a module I’m revising, players roll 2 six-sided dice each turn to determine movement. During their turn, they can choose to wager game money on what results other players will roll on their turn–a roll of exactly 4 or 10 pays 2:1, 3 or 11 pays 3:1, and 2 or 12 pays 4:1. The wager lasts until the next time the player goes.
They place their wagered money on a spot on the game board and if the numbers come up before they go again, they collect their winnings and remove the wagered money from the betting space. If no one rolls a 2,3,4,10,11, or 12, then the wager is lost and the money goes to the bank.
Normally, each player needs to watch the other player’s die rolls to check if their wager comes up. However, it would be nice to be able to automate this wagering process, so the module watches the die rolls, automatically informs the player if his wager wins or loses, and pays out (or collects) the right amount of money.
However, I’m completely at a loss how to match the die roll results to winning results, and then automatically draw the right winnings from the bank (or, if he loses, automatically collect the player’s lost wager.)
Any suggestions on how such a thing might be accomplished?
Thanks in advance.