MaanasVohra / 2D-Ping-Pong-Game

2D Ping-Pong game based on the Classic Atari version built using p5.js.

Home Page:https://MaanasVohra.github.io/2D-Ping-Pong-Game/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

2D-Ping-Pong-Game

2D Ping-Pong game based on the Classic Atari version built using p5.js.

It can be played as a Player 1 vs Player 2 or a Single Player vs AI :

Player 1 vs Player 2:

  • Player 1 : Use 'w' and 's' keys to move up and down.
  • Player 2 : Use 'up arrow' and 'down arrow' keys to move up and down.

Player 1 vs AI(or CPU):

  • Player 1 : Use 'w' and 's' or 'up arrow' and 'down arrow' keys to move up and down.

The Game can be also paused by pressing 'Space Bar'

The maximum score is 10 points. Enjoy the game!

About

2D Ping-Pong game based on the Classic Atari version built using p5.js.

https://MaanasVohra.github.io/2D-Ping-Pong-Game/


Languages

Language:JavaScript 100.0%Language:HTML 0.0%Language:CSS 0.0%