This is the code I have now, I'm terrible at Greenfoot so don't blame me.
I want this to work, it's 90 because that's the maximum number I need to be generated. All help is good help.
Thank You.
public class Display extends Actor
{
public void act()
{
if (Greenfoot.isKeyDown("Space"))
then
(Greenfoot.getRandomNumber(90));
}
}
