Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 685 Bytes

README.md

File metadata and controls

31 lines (24 loc) · 685 Bytes

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.