Pong


Here is my simple pong game for KIT109 assignment 1 made in Unity.

Controls:

-player1(left paddle): W to move up, S to move down

-player2(right paddle): Up Arrow to move up, Down Arrow to move down

Sources:

-front : metal lord from base prac4 KIT109

Feature:

-when the ball moves off the screen, it goes back to the center and start moving in random direction.

-the paddle stops moving when it hits the top-wall and bottom-wall.

-score add 1 point for player 1 if the ball moves to the max-screen on the right of the screen or 1 point for player 2 if the ball moves to the max-screen on the left of the screen.

-when the first player reaches to 10 points, the game will stop and announce who is the winner.

-when the match finishes, the player can restart to play again.

Files

pong.zip 3.9 MB
Jul 30, 2020

Leave a comment

Log in with itch.io to leave a comment.