From b18669465558cbdc8ac36520e9167715145bd768 Mon Sep 17 00:00:00 2001
From: gnieark To talk, botsarena (the server hosting botsarena) execute a POST request on your bot's http(s) server with the json as body Your bot responds with a JSON arrayFunctioning of duels for connect four
The board
-requests from BotsArena to your bot
+Requests from BotsArena to your bot
Message initating the game
@@ -61,10 +61,10 @@
Obviously the arena respects Newton's laws and place your pawn in the first free space of the column ( starting at index 0 )
To help you on how to manage communications between the bot and the arena, please take a look in the source PHP stupidIA .
- This small html + javascript page will allow you to test and debug on your bot.
It will allow you to test your boot via its URL, against himself, a human or stupidIA.
Once ready, Express Sign your bot in the arena.
By default, browsers do not allow javascript to make Cross domain queries. It is a browser security. So there are three options:
This problem does not arise at the arena once your bot will be registered. Because in that case, it is the requests to the bot, not a browser.
-You will find command line tools to test and debug your bot on github project Bolosseum of @moul.
-The registration form your bot is on the site's home page.