This site requires JavaScript, please enable it in your browser!
Greenfoot back
JPEG
JPEG wrote ...

2019/2/8

Random Function

JPEG JPEG

2019/2/8

#
Hi there! So I'm making Rock, Paper & Scissors on Greenfoot. So I have 3 actors:Rock, paper and scissors.I'm on the part where the player has to click on an actor when...... 'How can I code the program to generate one of the actor's randomly (as it's the Computer playing) and to show it on MyWorld'?
Aelita Aelita

2019/2/8

#
You could generate a random number.
JPEG JPEG

2019/2/10

#
Sorry, that's not what I'm asking :)
You need to login to post a reply.