start n do while catz == 1 stop y Game Title n decide2==1 n do while decide1 == 1 y n do while play == 1 y Play Again, Show Stats, or Quit? y Play or Instructions Play Again? n Show Stats? y y Play selected? y n Instructions Selected? n y =9 and exit 0 by 1 y y Decide1 = 0 Show General Rules Displays stats from game decide2=0 catz=1 do while turn<25 and win=0 exit=0 n y y win=1 Quit ? n =1 Loop again. decide1 =1 n On goal space? n Wait for a button to be pressed n Up? n Hit banana ? y turn++ Goes up until it hits a wall Down? n Hit banana ? y turn++ Goes left until it hits a wall turn++ move up one if able n Right ? n Hit banana ? turn++ Move left one if able n y y turn++ Goes down until it hits a wall n y y y y Hit banana ? n Left? turn++ Goes right until it hits a wall turn++ Move down one if able turn++ Move right one if able Exit button decide2 =0 catz=0 n Loop again decide2=1
© Copyright 2026 Paperzz