|
4 years ago | |
---|---|---|
client | 4 years ago | |
node_modules | 5 years ago | |
server | 4 years ago | |
LICENSE | 5 years ago | |
README.md | 5 years ago | |
npg_app.js | 5 years ago | |
package.json | 4 years ago | |
version.md | 4 years ago |
nodePong is a multiplayer online Pong game based on socket.io and nodejs. Users can play or spectate games.
clone project from git
git clone https://git.tetalab.org/frtk/nodePong.git
The app has a few nodejs packages dependencies. If you want to install them manually, follow the instructions below, else use the “node_modules” directory from the cloned project.
cd nodePong
npm install fs
npm install express
npm install http
npm install socket.io
Server side: Parameters can be tweaked from “nodePong/server/server_config.js”
Client side: Parameters can be tweaked from “nodePong/client/ui/client_config.js”
From the nodePong directory,
nodejs nodePong.js