Difference between revisions of "W1524 Score!"

From Coder Merlin
(Created page with "thumb|Macombs Dam Pk td (2019-01-24) 074 - Heritage Field == Prerequisites == * W1523 Paddle Paddle == Re...")
(No difference)

Revision as of 09:59, 21 January 2021

Within these castle walls be forged Mavens of Computer Science ...
— Merlin, The Coder
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]

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

Key Concepts[edit]