stone paper scissor game
inatnat
Member Posts: 2
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.
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
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
Everyone knows it's rock lol