Pong Game

This project is a basic pong game using HTML5 Canvas. The purpose of this project was to explore the new capabilities of ES6 using OOP. Some of the methods used were using the Class constructors and methods, imports and exports, and instantiating new objects using the new property.

Keys to play the game

Player 1:
  • a: up
  • z: down
Player 2:
  • ▲ : up
  • ▼: down

Technologies used

  • Javascript ES6
  • Webpack
  • HTML5 Canvas

Project Reflections

This project helped me understand the OOP paradigm for programming and enhanced my Javascript skills. Building out and seeing how objects which are made up of data and methods can come together to create simple or complex applications with inheritance and instantiation.