Viewing 1 post (of 1 total)
  • Author
    Posts
  • #34994
    Moderator
    Member

    I coded Agar.io with Python (Using Sockets/Networking and Pygame)


    I coded Agar.io with Python (Using Sockets/Networking and Pygame)

    A duplication of the game Agar.io written in python

    Agar-IO
    A duplication of the game Agar.io written in python

    Running on Local Network
    Before you will be able to run this game you must make one minor change the to the file client.py. The host property from inside the init() method must be the local ip address of the machine that is running the server. To find this IP all you need to do is run server.py and read the output to see what IP it is on. Simply use that as the host property for the client.py file.

    Playing the Game
    To run the game you must have an instance of server.py running. You can then connect as many clients as you’d like by running game.py.

    Game Mechanics

    1. Each game lasts 5 minutes
    2. The larger you are the slower you move
    3. Each player will lose mass at a rate proportional to their size (larger = faster loss)
    4. The game will be in “lobby” mode until started, this means all each player can do is move.
    5. The game will begin once a client connects on the same machine the server is running on

    Possible Erros
    If you are having connections issues try diabsling the firewall on the server and client machines.

    read about the latest technology trends and learn about new technologies, methodologies, and best practices through shared knowledge.

    This website – a collection of modded apk game apps for Android, Iphone smartphones & News Phones. These materials are taken from free Internet sources and can only be used for educational purposes!
    You can use it again like sharing friends or on social media, or for reviewing youtube videos etc.,

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.