Git Product home page Git Product logo

agar.io-clone's Introduction

Agar.io Clone

A replica of the real-time multiplayer browser game agar.io, featuring client-side prediction and lag compensation based on Valve's Source Engine

STILL A WORK IN PROGRESS!

Image

Gameplay

Move with mouse, shoot mass with left-click.

No-server demo

There is a simple browser-only demo in the NoServerDemo folder. Check it out to quickly see if you dig it. Use Google Chrome!

Build

With docker:

To build and run the server in docker:

$ make start

this builds and runs a docker image tagged agario on port 8080, and also uses the Server directory as a shared volume.

With gradle

build and run the server:

$ cd Server
$ gradle build run 

TODO

  • Fixing time-stepping on server and clients
  • Handling blob generation and synchronization across clients
  • Collision Detection (with Quad trees?)
  • Porting physics to Java on the server
  • Implementing Source strategy for client-server communication. Better explained here (in progress)
  • Replacing string data communication between server and clients with other formats/encoding. (JSON or raw binary?)
  • Better effects (added blobbiness/elasticity effects)
  • Tweaking input processing and buffering across threads
  • Optimization for CPU-heavy code
  • Creating a pre-game panel for preliminary settings and player name input
  • Splitting upon colliding into viruses (in progress)

agar.io-clone's People

Contributors

bsztankovacs avatar d-0-r avatar sam46 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

agar.io-clone's Issues

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.