Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Does any one know how to start making yahtzee?
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Drizzt




PostPosted: 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
Sponsor
Sponsor
Sponsor
sponsor
jernst




PostPosted: 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...
Tallguy




PostPosted: 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
Drizzt




PostPosted: 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
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 4 Posts ]
Jump to:   


Style:  
Search: