A simple but powerful BLOB feeding game built using socket.IO and HTML5 canvas on top of NodeJS.
You can check out how to play on our wiki.
- Move your mouse around the screen to move your cell.
- Eat food and other players in order to grow your character (food respawns every time a player eats it).
- A player's mass is the number of food particles eaten.
- Objective: Try to get as big as possible and eat other players.
- Players who haven't eaten yet cannot be eaten as a sort of "grace" period. This invincibility fades once they gain mass.
- Everytime a player joins the game, 3 food particles will spawn.
- Everytime a food particle is eaten by a player, 1 new food particle will respawn.
- The more food you eat, the slower you move to make the game fairer for all.
- Game logic is handled by the server
- The client side is for rendering of the canvas and its items only.
- Mobile optimisation.
- Implementation of working viruses.
- Display player name.
- Now supporting chat.
- Type
-ping
in the chatbox to check your ping, as well as other commands!
To run / install this game, you'll need:
- NodeJS with NPM installed.
- socket.IO.
- Express.
After downloading all the dependencies, you can run the server with the following command:
npm start
The game will then be accessible at http://localhost:3000
. The default port is 3000
, however this can be changed in config. Further elaboration is available on our wiki.
If you have Docker installed, after cloning the repository you can run the following commands to start the server and make it acessible at http://localhost:3000
:
docker build -t agarioclone_agar .
docker run -it -p 3000:3000 agarioclone_agar