WHAT IS AGAR.IO?
Agar.io is a multiplayer game created originally by Matheus Valadares for the desktop. A player controls a cell—circle and the goal is to gain mass by eating other smaller players or circles.
The name Agar.io comes from the substance agar, used to culture bacteria.
Agar.io has these game modes:
- FFA (Free-for All)
- Experimental, and
The game uses NodeJS environment and Socket.IO to create a WebSocket server listening on port 3000.
The game also uses ExpressJS for a simple HTTP service that displays
How to clone AGAR.IO?
There are two major Agar.IO clones in the NPM repository but non on these have the speed of the online game. (https://www.npmjs.com/browse/keyword/agar.io)
This is understandable because, the communication between the cells in the real Agar has been compressed, and the upper NPM packages don’t have this level of compression. Also developers made completely new code for game over the time. Now code runs inside a virtual machine.
…tags: & category: -