/pong-game

Simple Pong game made with HTML5 Canvas

Primary LanguageJavaScript

Simple Pong game made with HTML5 Canvas (Try online !)

Setup

git clone https://github.com/XavierLeTohic/pong-game
npm install

Run in development

npm run dev

Run in production

npm run build && npm run start

Features

  • Insctruction page
  • Ball animation
  • Control the paddles when mouse over the canvas
  • Ball collisions with paddles
  • Ball reset when user win or lose
  • Pause game when resize page
  • Implement IA
  • Display scores
  • Better collisions with paddles
  • Comments