Un clone de Pong multijoueur écrit en NodeJS
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
frtk babb856b83 version 0.2.2 4 years ago
client version 0.2.2 4 years ago
node_modules bla 4 years ago
server version 0.2.2 4 years ago
LICENSE version 0.0.1 - HTTP & SocketIo services on server 4 years ago
README.md updated README 4 years ago
npg_app.js version v0.1.0 4 years ago
package.json version 0.2.2 4 years ago
version.md version 0.2.2 4 years ago

README.md

nodePong

nodePong is a multiplayer online Pong game based on socket.io and nodejs. Users can play or spectate games.

Install

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

Parameters

  • Server side: Parameters can be tweaked from “nodePong/server/server_config.js”

    • port : http and iostream services port (default: 8042)
  • Client side: Parameters can be tweaked from “nodePong/client/ui/client_config.js”


Run

From the nodePong directory,

nodejs nodePong.js