Skip to content

anthive/php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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