Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 708 Bytes

File metadata and controls

28 lines (22 loc) · 708 Bytes

AntHive.IO sample bot in PHP

Import this sample bot.

Requirements

Debug

  • git push origin master
  • Register a new version of your bot from latest commits
  • Start new game at https://profile.anthive.io/new-game
  • Replay game step by step:
    • View logs
    • Download step payload

Run locally (not required)

php -S localhost:7070

It will start localhost server on port :7070

curl -X 'POST' -d @payload.json http://localhost:7070/run.php