Hi, I was wondering how can create a "working" 20 sided die that is completely random.
If it's not my fault, I 'd say I don't really understand what is a working 20 sided die.. if you could explain yourself I'd be happy to help you out.
Quote from: Dualnames on Sun 31/08/2008 20:50:36
If it's not my fault, I 'd say I don't really understand what is a working 20 sided die.. if you could explain yourself I'd be happy to help you out.
A 20 sided die is commonly used in pen and paper rpgs, a lot of tile board games and other things.
If it helps, here is a picture link.
http://upload.wikimedia.org/wikipedia/commons/c/c7/BluePlatonicDice.jpg
The die at the left end is a twenty sided die.
I think you mean dice, not die. Anyway, you should have a look at the random function. :)
Yes, just use Random(19)+1
which will result in a random result from 1 to 20.
Thanks, that will help.
Trivial fact: A die is a singular for dice.