Does any one know how to start making yahtzee?
Author |
Message |
Drizzt
![](http://compsci.ca/v3/uploads/user_avatars/26787871747f661869dba1.gif)
|
Posted: Mon Apr 21, 2008 11:00 am Post subject: Does any one know how to start making yahtzee? |
|
|
I am in grade 10 and we have to make yahtzee and i do not know how to even start |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
jernst
![](http://compsci.ca/v3/uploads/user_avatars/72209151847d1934cdf8ad.jpg)
|
Posted: Mon Apr 21, 2008 11:10 am Post subject: Re: Does any one know how to start making yahtzee? |
|
|
you could start with making the random dice work ... |
|
|
|
|
![](images/spacer.gif) |
Tallguy
![](http://compsci.ca/v3/uploads/user_avatars/515706924539b443d32a6e.gif)
|
Posted: Thu Apr 24, 2008 7:57 am Post subject: RE:Does any one know how to start making yahtzee? |
|
|
having dice work would be the very first step, then create ur 'pad' where the dice toital etc or drwan |
|
|
|
|
![](images/spacer.gif) |
Drizzt
![](http://compsci.ca/v3/uploads/user_avatars/26787871747f661869dba1.gif)
|
Posted: Fri May 02, 2008 11:07 am Post subject: Re: Does any one know how to start making yahtzee? |
|
|
ok I have the dice rolling can you help with my code for selecting dice this is what I have now but it will not work
procedure selection %help from Tim
var current : int
var anykey : string (1)
current := 1
drawfill (xa (current) + 1, ya (current) + 1, red, black)
loop
get anykey
exit when anykey = "r" or anykey = "R"
if ord (anykey) = 205 then
drawfill (xa (current) + 1, ya (current) + 1, red, black)
if current = 5 then
current := 1
else
current := current + 1
end if
drawfill (xa (current) + 1, ya (current) + 1, red, black)
end if
end loop
end selection |
|
|
|
|
![](images/spacer.gif) |
|
|