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 make it grow, in the same way you can eat the other smaller snakes, the main objective of the game is to make it grow your snake until it is the largest on the server. Currently slither.io can be played from the web, but we can also download slither.io for Android e iOS.
En How to have your own slither.io server We are going to teach you how to install and run open source tools that will allow you to have your own server, so that you can improve your technique or simply share with your friends.
Install basic clone of slither.io on our server
To have a basic clone of slither.io in our server quickly and easily 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 we access localhost:8080
and we will have our own slither.io running.
Install slither.io clone in client / server mode
Without a doubt this is the most suitable way to have a slither.io server, since it consists of a sserver with the same characteristics of the original game or with a client that is visually identical to the original slither. That is, in this way you can have a clone of this great 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 we 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 following command
$ script/run
o $ npm start
.
The server will be accessible from localhost:8080
but you need a client (you can use the original one) to be able to play slither.io.
Install and run a slither.io clone client
There are numerous slither.io open source clients in this case we will use plitherTo download and install the client quickly and easily, 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 have 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.1", "po": 8080, for this we must place the following command and replace by the information we want.
sudo vi Plither/src/configs/ClientConfig.js
Then we must start the client with the following commands:
chmod +x start_client.sh
sh ./start_client.sh
We can start to enjoy our slither.io client accessing from localhost:8080
or from the ip of our server
Very good, I have tried it and it works great.
My children will no longer bother me to play on the mobile. 😀
Thank you very much.
how can i do that same in linux
There are the steps you install and run .. It's for Linux
A shit as you explain, first of all you don't explain what Linux distribution it is for, the other thing is that you need nodejs.
Learn to put commas. Keep criticizing without knowing.