Im currently working on my second game(Rock Paper Scissor), but I got stuck at the part where the computer/AI chooses a number 1-3 randomly. Any one know how to do this.
-Loregoreth
Rock Paper Scissor question?!
Started by Loregoreth, Jun 29 2006 09:47 PM
6 replies to this topic
#1
Posted 29 June 2006 - 09:47 PM
#2
Posted 29 June 2006 - 09:59 PM
What language are you using?
reedbeta.com - developer blog, OpenGL demos, and other projects
#3
Posted 29 June 2006 - 10:01 PM
Oh sorry I forgot to include that : c++
#4
Posted 29 June 2006 - 10:08 PM
http://www.fredosaur...isc/random.html
Oh and for future reference: a question of this sort can be easily answered by a Google search. Search for "C++ random number" or something similiar and you'll get plenty of websites.
Oh and for future reference: a question of this sort can be easily answered by a Google search. Search for "C++ random number" or something similiar and you'll get plenty of websites.
reedbeta.com - developer blog, OpenGL demos, and other projects
#5
Posted 30 June 2006 - 12:51 PM
By the way, my alma mater is home of the reigning national collegiate RPS champion! Julianna Vaughn won the title at Madison Square Garden back in April by throwing scissors against the paper of D. Shanklin from Ohio. An outstanding move in the clutch!
Also, be sure to read over the The Official Rock Paper Scissors Strategy Guide before designing your AI!!!
Also, be sure to read over the The Official Rock Paper Scissors Strategy Guide before designing your AI!!!
#6
Posted 30 June 2006 - 09:11 PM
That is among the funniest things I have seen. The Gambits especially crack me up:
http://www.worldrps....id=20&Itemid=33
http://www.worldrps....id=20&Itemid=33
Morgan
Tools: LightWave + Unity. Games: educational, promotional, and shareware. Hardware: Intel Mac... hopefully.
Tools: LightWave + Unity. Games: educational, promotional, and shareware. Hardware: Intel Mac... hopefully.
#7
Posted 30 June 2006 - 11:17 PM
wow, people are wierd :P
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users












