Computer Science Canada

Does any one know how to start making yahtzee?

Author:  Drizzt [ 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

Author:  jernst [ 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 Razz...

Author:  Tallguy [ 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

Author:  Drizzt [ 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


: