8. Dice Game (Exercise)
In a board game a pair of dice (one is 6 sided and the other is 12 sided) is rolled. You win
when there is a matching number, or the sum of the numbers rolled is equal to 18. In this
problem we would like to build a VI that will do the following:
i) Rolls the pair of dice every 100ms and displays the numbers rolled
ii) A digital indicator displays the number of times dice rolled
iii) An LED glows when you win
iv) A digital indicator displays the number of wins
v) Program stops after exactly100 rolls.
Comments
Post a Comment