Attempted Features/Exercises


Basic Features/Exercises Attempted:

  1. Ball starts moving in random direction (either left or right angles can happen) at an approximately similar speed no matter what direction.
  2.  When the ball hits a wall, it bounces back at the correct reflected angle, and does not lose speed over time.
  3. When the ball hits a paddle, it bounces back at the correct reflected angle, and does not lose speed over time.
  4. Paddles move independently with a different set of control keys for each, and never move sideways, rotate, or get stuck.
  5. Graphics for the ball, the paddles, the top and bottom wall, and the center line.

Further Features/Exercises Attempted:

  1. When lost, the ball resets to the center, and starts moving in a random direction every time (either left or right angles can happen) at an approximately similar speed no matter what direction.
  2. Paddles cannot go past the top and bottom walls, and never move sideways, rotate, or get stuck.
  3. Clearly legible scores shown for both players, and scores are correctly calculated as play progresses.
  4. Gameplay proceeds to end of match (first to 10 points), then displays winning message that identifies winner, and gameplay ceases (ball doesn’t re-center and paddles stop moving).
  5. Upon gameplay ceasing (as above), a “play again?” message is shown, when clicked, game restarts with scores, paddles, and ball reset.
  6. Player can select 1- or 2- player from the title screen, and play against either the AI or another human, at the end of a match, the game returns to this screen (i.e. it functions as the “play again?” option).
  7. Different sound effects added for each of the following: ball hitting the paddle, ball hitting the wall, ball going off the screen, and end of match
  8. Ball increases in speed with each hit (and speed resets every time it re-centers) and position ball hits the paddle affects how it bounces back in a way that is consistent and adds more fun to the game.

Files

Final Build.zip Play in browser
Mar 14, 2021

Leave a comment

Log in with itch.io to leave a comment.