Game on

Gameplay

  • Target graphics randomly appear
  • Player clicks as fast as possible
  • Race against time
  • After 10 successes, show time, start over.

Elements

  • Start button 
    • Starts timer & counter
    • hides itself
    • Draws first box
  • Random number generator for box position 
  • A Raphael rect 
    • accepts clicks
  • a clock to time the game
    • used to score performance
  • Message dialog that shows score
    • starts game over by showing start button
  • A function that moves square to new location after click
  • a counter for box-clicks (so we know when to stop)
Made with Slides.com