Pacman

Based on probably the most famous computer game of all, this simplified version introduces the key concept of arrays as storage devices:

  • Using arrays to store data and objects (purpose of an array, creating an array)
  • Using FOR loops to populate arrays and detect collisions between movie clips in arrays