Template:W1524-Exercises

From Coder Merlin
Revision as of 09:55, 21 January 2021 by Chukwuemeka-tinashe (talk | contribs) (Created page with "{{Exercises| # Ensure that paddles can't be moved off (above or below) the screen # Add hit detection to the {{SwiftIdentifier|Paddle}} class # If a ball strikes a paddle it s...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
ExercisesExercisesIcon.png
  1. Ensure that paddles can't be moved off (above or below) the screen
  2. Add hit detection to the Paddle class
  3. If a ball strikes a paddle it should be deflected
  4. Add a scoreboard which will track the score of the game, incrementing the opponents score by 1 each time the ball strikes the wall