Skip to content

whahuzhihao/agar.io-php

Repository files navigation

Agar.io-php

Transplanted from agar-io clone.
Backend rewrite with PHP swoole extension

NOT FINISHED YET

  • TODO Still have problem with QuadTree. Use simple collision detection instead.

Requirements

  • PHP version > 5.3.10
  • Swoole extension for PHP

Installation

  1. Install swoole extension via pecl

    pecl install swoole
  2. Download php libs via composer

    composer install -o
  3. Download nodejs libs via npm

    npm install

Run

  1. Configure your domain in client/js/global.js with default value localhost.
  2. Run with npm start, and visit http://localhost:3000 in your browser.

About

Agar.io clone with PHP backend.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published