Skip to content

MaanasVohra/2D-Ping-Pong-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published