**DISCLAIMER- ORIGINAL TEXT FONT DOES NOT WORK ON WEBGL FORMAT SO IT LOOKS LIKE POOP**

-The AI is artificially stupid btw, I could have just made it follow the Y transform of the ball but I hate myself

CONTROLS:
-Singleplayer:

use your mouse to move the paddle up and down, first to 10 wins

-Doubleplayer:

p1 uses W and S to move up or down.

p2 uses Up arrow and Down arrow to move up or down.


only resources used were unity documentation, clause AI(consultation only), and youtube(for music and sfx)

ball starts moving in random
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


I tried to complete all requirements on the CRA but the final one I did not attempt

("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")


CREDIT:

music: 

Updated 7 days ago
Published 9 days ago
StatusReleased
PlatformsHTML5
AuthorAlex_Mang
Made withUnity
ContentNo generative AI was used

Leave a comment

Log in with itch.io to leave a comment.