JavaScript multiplayer game test :)
Just some fun with multiplayer pong using socket.io and nodejs, not even close to finishing it :)
Features:
- So far, it only has players sync, nothing else, will be updated in future :)
Prerequisite:
- nodejs and npm installed on server
- npm install socket.io
- npm install express
Usage:
- app.js is the server, start it with:
- $ node app.js
- After that set up the IP and port in index.php, and load the page in browser :)
Todo:
- Ball sync
- Game logic (collisions, gameplay, score, etc...)