HOw to create a die in turing?
Author |
Message |
sweet4evr
|
Posted: Tue Oct 16, 2007 4:27 pm Post subject: HOw to create a die in turing? |
|
|
i need immediate help in making a die in turing that has 5 dots on it, the problem i am having is that i don;t know how to put the formula in the input window.
i put const:3.14 and then i am lost...like what do i put
here i am so far:
var sidelenght:real
var lenght:real
put" yadayada yada"
get sidelnght
const:3.14
????????????????????? |
|
|
|
|
 |
Sponsor Sponsor

|
|
 |
Martin

|
|
|
|
 |
HeavenAgain

|
Posted: Tue Oct 16, 2007 6:24 pm Post subject: Re: HOw to create a die in turing? |
|
|
you are using const wrong
and what you mean by, "5 dots on it", and "how to put formula in the input window"
if the error is with const:3.14, my best guess would be, try Math.PI <<< it is already a constant |
|
|
|
|
 |
Nick

|
Posted: Tue Oct 16, 2007 6:27 pm Post subject: RE:HOw to create a die in turing? |
|
|
...what are u trying to do? create a die that has dots on it depending on the number rolled?
if so simply use drawoval also i dont know how much u know turing but to randomize the dice roll use randint(var_name,1,6) |
|
|
|
|
 |
|
|