Import this sample bot.
- php ^7.4
- Set your username in ANTHIVE file.
- Register your bot at https://profile.anthive.io/bots
- 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
php -S localhost:7070
It will start localhost server on port :7070
curl -X 'POST' -d @payload.json http://localhost:7070/run.php