Note: This is based off of the game agar.io.
Try to get as many food pieces as possible so you can defeat the other player! This is a local multiplayer game, which the means the opponent has to be using the same keyboard.
Red Square: Use WASD or Red Buttons.
Blue Square: Use arrows or Blue Buttons.
Good Luck and make sure to vote this! Also, this has been posted under the share topic at: https://repl.it/talk/share/Agario/5511.
This game has gotten a first place tie in the repl.it multiplayer game challenge!
The challenge is coming to an end. If you haven’t voted, you have less than 1 hour and 30 minutes left to vote, and for those who have voted for this project, I would like to thank you for all the great feedback and support you provide.
I found that there is no collision logic with the edges of the map. This somewhat detracts from the feasibility of the game's limited-area idea. Perhaps a slightly bigger map with enforced barriers?
Nice concept, however I found the following bug - if one player makes his way into the other players corner and eats the other, the other then respawns in that corner again, and so is eaten and so respawns and is eaten and this repeats ad infinitum, making the game freeze. Maybe have the player respawn in a random location each time?
What's the goal of the game?
Another issue: if the players avoid each other by one of them exiting the map, then it is possible for the other to grow infinitely large. I suggest some sort of growth limit imposed on the players, and a food spawning halt if such an issue occurs.