A simple but powerful spreadsheet cell based game built with 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.
- 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!
You can simply click one of the buttons below to easily deploy this repo to Bluemix or Heroku:
Or...
You can check out a more detailed setup tutorial on our wiki.
To run / install this game, you'll need:
- NodeJS with NPM installed.
- socket.IO.
- Express.
After cloning the source code from Github, you need to run the following command to download all the dependencies (socket.IO, express, etc.):
npm install
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
or the respective server installed on. 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
-
What is this game?
-
Can I use some code of this project on my own?
You can check out the full license here.