GithubHelp home page GithubHelp logo

agar-io's Introduction

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

  • Each game lasts 5 minutes
  • The larger you are the slower you move
  • Each player will lose mass at a rate proportional to their size (larger = faster loss)
  • The game will be in "lobby" mode until started, this means all each player can do is move.
  • 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.

agar-io's People

Contributors

matt-mekha avatar techwithtim avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.