Server side of four in a row game, that provides multiplayer features. Repo with client side: https://github.com/proxodilka/4-in-a-row.
Demo.
Here implemented separated lobbies concept with web-socket protocol. After establishing connection through web-socket, clients could get/create/join/delete lobbies with sockets requests.
-
Clone repository
git clone https://github.com/proxodilka/4-in-a-row-server
-
Install packages
npm install
-
Run local server by
node index
-
Following instructions from client repo set custom server address