Hacker News new | comments | ask | show | jobs | submit login

This game is no more playable than it was when it was posted hours ago. And here's why:

setInterval(function() { window.manager.inputManager.emit("move", Math.floor(Math.random() * 3) + 1); }, 1000);

Some rate limiting has been put in place, but it's not good enough. If there are 50 users online at once, they all shouldn't be able to spam a command every second.

A better algorithm would be:

seconds_between_commands = 60 - (60 / number_of_players);

With a clock letting you know when you can make your next move.

Otherwise, it's just way too easy to spam.




Good idea. Working on it.




Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact

Search: