itch.io is community of indie game creators and players

Devlogs

1.0 Final Upload

KIT109 Assignment 1 - Pong
A browser game made in HTML5

Font taken from 1001 fonts. Available at https://www.1001fonts.com/blocky+pixel-fonts.html


Further Exercises Attempted:

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-center 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

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.

Files

  • Build.zip 5.6 MB
    Jul 24, 2022
Leave a comment