Computer bot / Randomizer - Simple
Author |
Message |
MasterCard
|
Posted: 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! |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
Zren
![](http://compsci.ca/v3/uploads/user_avatars/1110053965512db6185954b.png)
|
Posted: Fri Jun 26, 2015 11:32 am Post subject: RE:Computer bot / Randomizer - Simple |
|
|
Rand.Int |
|
|
|
|
![](images/spacer.gif) |
|
|