0

How to make dice

The dice contain RM 500, RM600,RM,700, RM800,RM,900, RM 1000, Lose A Turn and Bankrupt. How to add score to players

28th Sep 2020, 1:37 PM
Thamizh Araasan
Thamizh Araasan - avatar
1 Answer
+ 6
To make it work like a dice, you can put the six values in a list. Then import random module and use choice, to select a random value out of your dice.
28th Sep 2020, 2:39 PM
Lothar
Lothar - avatar