One of the fashion games is Slither.io, which is a multiplayer browser game that consists of controlling a snake that consumes colored balls which brand information technology grow, in the same way you can swallow the other smaller snakes, the main objective of the game is to make it grow your serpent until it is the largest on the server. Currently slither.io can exist played from the spider web, but nosotros can also download slither.io for Android eastward iOS. Slither.io

EnHow to accept your own slither.io serverWe are going to teach you how to install and run open up source tools that will allow you to have your ain server, so that you can improve your technique or but share with your friends.

Table of Contents

  • 1 Install basic clone of slither.io on our server
  • two Install slither.io clone in client / server style
    • 2.i Install and run a slither.io clone server
    • ii.2 Install and run a slither.io clone customer

Install basic clone of slither.io on our server

To accept a basic clone of slither.io in our server rapidly and hands we must write the following commands:

git clone https://github.com/whxaxes/slither.git
cd slither/
npm install && npm run devnpm install && npm run devvvv

Then from our preferred browser nosotros accesslocalhost:8080and nosotros volition take our ain slither.io running.

Install slither.io clone in client / server mode

Without a doubtfulness this is the almost suitable way to accept a slither.io server, since it consists of a southwardserver with the same characteristics of the original game and a client that is visually identical to the original slither. That is, in this manner y'all can have a clone of this not bad game to share with your friends and be able to have your own server, with the configuration you want.

Install and run a slither.io clone server

For, download and install a slither.io clone server quickly and easily nosotros must write the following commands:

git clone https://github.com/iiegor/slither.git
cd slither/
npm install

Then we must start the slither.io clone server with the post-obit command

$ script/run o$ npm start.

The server will exist accessible fromlocalhost:8080only yous demand a client (y'all can apply the original one) to exist able to play slither.io.

Install and run a slither.io clone customer

There are numerous slither.io open source clients in this case we will utilize PlitherTo download and install the client rapidly and hands, we must write the following commands:

git clone https://github.com/PlitherProject/Plither.git
cd Plither/
chmod +x install_modules.sh
sh ./install_modules.sh

Once we take installed the client we must configure the ip and port of the server where we want to connect, which in our case is "ip": "127.0.0.one", "po": 8080, for this nosotros must place the post-obit command and replace by the data we desire.

sudo vi Plither/src/configs/ClientConfig.js

And then we must kickoff the customer with the post-obit commands:

chmod +x start_client.sh
sh ./start_client.sh

We tin can start to savour our slither.io client accessing fromlocalhost:8080or from the ip of our server