W1524 Score!

From Coder Merlin
Jump to navigation Jump to search
Macombs Dam Pk td (2019-01-24) 074 - Heritage Field

Prerequisites[edit]

Research[edit]

Background[edit]

Experiment[edit]

Getting Started[edit]

Continue from the previous project; we'll be editing all of our files there. Enter into the Sources directory of the project.

john-williams@codermerlin: cd ~/Experiences/W1521/Sources/ScenesShell/

Exercises[edit]

ExercisesIcon.png
Exercises
  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

Key Concepts[edit]


Designed with pride in Silicon Valley, CA, USA