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

Username:   Password: 
 RegisterRegister   
 Computer bot / Randomizer - Simple
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
MasterCard




PostPosted: Fri Jun 26, 2015 9:58 am   Post subject: Computer bot / Randomizer - Simple

Hey guys, so i am making a rock paper scissor game [USING TEXT ONLY, NOT GUI] so when the player makes his/her selection it gets stored into a variable. Now I want to make the computer pick rock paper scissors and store the bots answer into another variable.. How do i do this? Do i do this with a randomizer? Can someone please give the the code for the randomizer (if thats needed)

Thank you!
Sponsor
Sponsor
Sponsor
sponsor
Zren




PostPosted: Fri Jun 26, 2015 11:32 am   Post subject: RE:Computer bot / Randomizer - Simple

Rand.Int
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  [ 2 Posts ]
Jump to:   


Style:  
Search: