Pong Game

Stretch Goals

  • Created a pop up alert letting player know that the game is paused when paused (press space).
  • Winner Declared after 10 points. Game resets when hitting OK on the alert notification.
  • Ball Speed increases by 10% after each goal.

A basic pong game using SVGs.

Setup

Install dependencies:

> npm i

Run locally with Webpack Dev Server:

> npm start

Build for production:

> npm run build

Keys

Player 1:

  • a: up
  • z: down

Player 2:

  • ▲ : up
  • ▼: down