itch.io is community of indie game creators and players

Devlogs

Features

Pong
A browser game made in HTML5

all basic features are included 

assessment hd features included:

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

Files

  • pong.zip 4.4 MB
    Aug 11, 2024
Leave a comment