- This is an online multi-player game similar to Agar.io.
- Build with vanilla javascript to get the taste of how things were done in the old times without frameworks like react.
- Using Express for the backend servers to bring down the complexity and player-server connectivity is handled using Socket.io.
- The site is live and the website link is in the description of this repo, site will be deployed until the free tier runs out, so check it out.
-
Initialize a git repo and clone this repo using
git clone https://github.com/sumitkukrejas/multiplayer-game.git
-
Set the environment variable (i.e. client and server urls present in public/socketStuff.js - line-1).
-
cd multiplayer-game
-
npm install
-
node index.js
to start the server. -
Enjoy your own multiplayer game.


