AGARIO, a remake of the Agar.io game, is a multiplayer game written in Python that uses TCP for in-game chat and UDP as a game server.
-
Make sure that your computer has Python 3 installed by typing
python3 --version
-
Use the package manager pip to install pygame.
pip install pygame
-
Make sure to have protobuf for Python installed. There are installation instruction on Google Protobuf's Github repository here: https://github.com/protocolbuffers/protobuf/tree/master/python
First, run the server. This will generate a lobby code that the players will use to enter the lobby.
python server_test.py
Then run the client.
python agar.py
Players that want to join must run the client.
To join a game room, you must enter your name and the lobby code.
To win, you must consume food that will appear. The number of food is limited and when there are no more food left to be consumed, the player with the biggest size and highest score will be the winner.
Use your mouse to control your avatar.