Change location of a target every time you press reset

mattiasteunis1 shared this question 2 years ago
Answered

Hi

We have to make a 'game' for a maths project. Unfortunately I'm stuck. I would need the square to change location randomly every time you press reset. The goal of the game is to hit that target with the cannon.

I hope someone can help me out!

Kind regards

Comments (1)

photo
1

SetValue(C, (0, random()*15, 0 ))

© 2020 International GeoGebra Institute