Live data from Hacker News

Agar.io

agar.io

101–110 of 238 posts

Re: Agar.io

#101
post #97

Dev here, feel free to ask me questions.

Can you describe server side technology? How many servers are there? How many players do you handle per server?

The server is written in C++ with libuv to abstract networking (since I test it on windows but the servers run on linux).

See my reply to madeofpalk for the other 2 answers.

Re: Agar.io

#102
post #69

While looking at the js source code and modifying it a bit I was able to program keys W A S D to move my cell around. But it doesn't work after a bit. The protocol is send the position of the mouse (which corresponds to the cell) to the server and then it calculates change over time to get a velocity. So if I move too much it starts going forever in one direction. Although this is using a quad tree implementation for…

Dev here. There are at least 12 servers at the moment, but they're divided between several regions so you're probably only seeing the IPs of the servers in your region. Each server also has several instances of the game, it creates more as demand rises. The most used resource on the servers is CPU.

[deleted]

Re: Agar.io

#105
post #97

Earlier quoted context omitted.

Can you describe server side technology? How many servers are there? How many players do you handle per server?

The server is written in C++ with libuv to abstract networking (since I test it on windows but the servers run on linux). See my reply to madeofpalk for the other 2 answers.

Why the decision to use C++ instead of NodeJS?

Re: Agar.io

#106
post #105

Earlier quoted context omitted.

The server is written in C++ with libuv to abstract networking (since I test it on windows but the servers run on linux). See my reply to madeofpalk for the other 2 answers.

Why the decision to use C++ instead of NodeJS?

Probably speed.

Re: Agar.io

#107

Dev here, feel free to ask me questions.

Awesome game, our productivity has dropped massively since I sent it around the office. Any plans to invite people to the room you're in?

Re: Agar.io

#110

I really admired the selflessness of "dick feed" and "A Helper Cell". In a game where it seems that only being the biggest counts, these guys were helping the biggest get bigger at their detriment. Kudos.

Or they just didn't really understand the game and loved the swallowing animation.
Post reply on HN