stone paper scissor game

inatnatinatnat Member Posts: 2
edited November -1 in Working with GS (Mac)
I am a beginner for using GS, and I would like to start with a simple stone paper scissor game.

I have browsed all the template, but I still have no clue how to generate a random value and display it, e.g. a random number of 1, 2, 3 and display the "stone" "paper" "scissor" respectively. Also how to compare the computer random value with the user choice.

Thanks.

Comments

  • touchcreamtouchcream Member Posts: 63
    This is pretty easy. I won't tell you how to do it, I wouldn't really help you but I will tell you what you should use.

    To generate random numbers, you have the function "random", if you use this with an attribute, you could generate a random number between 1 and 3, 1 would be Stone, 2 would be paper etc ...
    To compare you will have to use the rules, and to prepare all the possibilities.

    But you should maybe follow some tutorials here to understand how gamesalad works ;)
  • JamesZeppelinJamesZeppelin Member Posts: 1,927
    stone?
    Everyone knows it's rock lol
Sign In or Register to comment.