« Project that needs rating | Project » |

# Project-Casino game and calculations

For this project, I wanted to make a Casino game. So I thought what is one of the most random things... dice. I thought would if you had to roll 2 dice and add the numbers to equal a certain (2) number(s) to win. So I made the game called 4-5. When you roll the 2 dice and the numbers added together equal either 4 or 5 you win double your money. So if you put in a dollar and then lose (by not getting either 4 or 5) you lose that dollar.

I calculated the odds of winning: there are 36 possible dice roles with 2 dice, so with this, I counted how many possibilities there are to get 4 or 5. For 4, there are 4 possibilities: (2-2), (2-2), (3-1),(1-3). For 5 there are 4 possibilities: (4-1), (1-4), (3-2), (2-3). Added up there are 8 possibilities to get either 4 or 5. So 8/36 (each die has 6 sides, 6x6=36) -------> this is 8 divided by 36 which equals 0.222 which is 22.2%. This means if you roll 2 dice once, the probability of you getting a 4 or 5 is 1.1 in 5 rolls.

It is hard to win therefore the prize is higher. I rolled the 2 dice 50 times and came out with 9 4s or 5s which is 18% which is close to my calculations.

This project took me over an hour to do with the calculations and testing. I hope my math is correct.

#### 12 comments

Form is loading...

## Recent Comments