JLG GAMES ACADEMY — YOUR FIRST PONG GAME

Open index.html in Chrome, Edge, Firefox or Safari. No installation or internet connection is needed.
Click Start game. Use W and S, or the up and down arrow keys, to move the left paddle.
The computer moves the right paddle. The first player to five points wins.
Restart starts a new match at zero points.

index.html contains the words, scoreboard, buttons and game canvas.
style.css gives the page its colours and layout.
game.js makes the paddles move, bounces the ball and counts points.

This first version uses a keyboard. A responsive page does not provide touch controls.

SOUND EFFECTS
Click Start game to enable arcade sounds for paddle hits, wall bounces, points and winning.
Use Sound: on/off to mute or unmute. Sounds are generated locally with Web Audio.

DIFFICULTY
Easy is selected by default: a slow ball, larger paddle and forgiving opponent.
Choose Medium or Hard before starting for a greater challenge.
The level is locked during a match. After the match ends, choose a new level.
