- This work employs the concept of linear programming for the game.
- There are 4 decimal double-digit numbers to be decided, i.e., 8 blanks should be filled, with a six-sided (i.e., 1~6) dice rolled 8 times. You have to fill in one of the 8 blanks as soon as you roll the dice.
- After you roll the dice for 8 times (i.e., fill in 8 blanks), sum up all the numbers.
- If the sum is less or equal to 150, your score equal to the sum; otherwise, you get zero as your score.
- Your goal is to maximize the average score for 10000 times of this game.
-
Open goGameEval.m, diceSumGame.m, and my myStrategy.m. (They should be in the same directory)
-
Execute goGameEval.m