- In this game, I learned how helpful constructors are when instantiating new objects
- I've strengthened my understanding of using "this" to dynamically use values for modularity
- I learned how to use key codes and eventlisteners so the user may trigger certain actions
- Exporting and importing partials is a very clean way to implement codes
- Learned how to render and add attributes to SVGs
Technologies Used
- Babel
- ES2015
- Webpacks
- SVGs
- GitHub
How to Play
The objective of this game is to rebound the balls so they pass the opponents paddle. You are allowed to move sideways closer to the mid-line and even past it, to give your opponents a harder time, but be careful! After you score, the ball spawns in the center again, so get back to position quickly
Player 1 Controls
- w: up
- s: down
- a: left
- d: right
Player 2 Controls
- ▲: up
- ▼: down
- ◀: left
- ▶: right
Other Controls
- g: spawn one big ball
- h: remove big ball
- space bar: Pauses Game