Pygame DiceSimulation of the throw of a pair of dice using Pygame | |
Download |
Pygame Dice Ranking & Summary
Advertisement
- License:
- MIT/X Consortium Lic...
- Price:
- FREE
- Publisher Name:
- Arkapravo Bhaumik
- Publisher web site:
- http://code.google.com/u/@VhFfS1RQDhdHXwI=/
Pygame Dice Tags
Pygame Dice Description
Simulation of the throw of a pair of dice using Pygame Pygame Dice is an interactive GUI designed to simulate the throw of a pair of dice. The user is also confirmed about the odds to win (getting 2 & 12 has the least odds while 7 has the most (lucky-seven)).Developer commentsExtending the idea of tossing a coin to the throw of a pair of dice. The throw doesn't have equal probable events , ie: Probability of getting a cumulative sum of 10 is not the same of getting a cumulative sum of 7.The probabilities of rolling a cumulative sum of 'n' is maximum for rolling a 7 (16.67% , lucky seven) while it is the lowest for rolling a 2 or 12 (2.78%).To allow the user to have the 12 choices (2-12 and Quit) two variables are used as posx and posy (single variable pos used in the toss of a coin), to make a grid. Requirements: · Python · pygame
Pygame Dice Related Software