my theory is this (code provided) to make it change a random angle between -45 and +45 degrees. but not sure if correct.
1 | private int randomTurnAngle = Greenfoot.getRandomNumber( 46 )- 91 ; |