simple ping-pong game #node.js
JavaScript CSS HTML
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
package.json refactored server.js to es6 Mar 28, 2017

Simple ping-pong browser game (using canvas and on the client side). Node.js used as a back-end server.

To start the game you should install nodejs and npm: ( and

Then clone the game from github and install dependency:

$ git clone git://
$ cd pong
$ npm install


$ sudo npm install

Then simply start the server with:

$ node server.js

Finally open two browser windows and point both to http://localhost:8081

Use 'Up' or 'Down' arrows to move your racket. Press Spacebar to start the round (only if two players are connected to the same room)

Tested and works in Google Chrome and Firefox