KIT109 - Assignment 1 - Pong Submission


KIT109 Assignment 1 - Pong (Owen - 510123)

Completed Marking Rubric Sections:

  • ball starts moving in random direction ( either left or right angles can happen ) at an approximately similar speed no matter what direction
  • when the ball hits a wall, it bounces back at the correct reflected angle, and does not lose speed over time
  • when the ball hits a paddle, it bounces back at the correct reflected angle, and does not lose speed over time
  • paddles move independently with a different set of control keys for each, and never move sideways, rotate, or get stuck
  • graphics for the ball, the paddles, the top and bottom wall, and the centre line
  • when lost, the ball resets to the centre, 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
  • paddles cannot go past the top and bottom walls , and never move sideways, rotate, or get stuck
  • clearly legible scores shown for both players , and scores are correctly calculated as play progresses
  • game play proceeds to end of match (first to 10 points), then displays winning message that identifies winner, and gameplay ceases (ball doesn’t re- centre and paddles stop moving)
  • upon gameplay ceasing (as above), a “play again?” message is shown, when clicked, game restarts with scores, paddles, and ball reset
  • 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)
  • 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
  • ball increases in speed with each hit (and speed resets every time it re- centres) and position ball hits the paddle affects how it bounces back in a way that is consistent and adds more fun to the game

Utilised Third-Party Resources:

Files

Pong Game KIT109 Play in browser
Mar 10, 2021

Leave a comment

Log in with itch.io to leave a comment.