From 660fec0df6a9ac2337b4c53300bf34a1c22e1224 Mon Sep 17 00:00:00 2001
From: Gnieark Your program does not have to manage a whole part of noughts and crosses, just one lap Your program does not have to manage a whole part of noughts and crosses, just one turnFunctioning of duels for battle four
-Connect four's wire rack
+Connect four's grid
The arbitrator program (the arena) build a request with POST parameters as follow :
+The arbitrator program (the arena) builds a request with POST parameters as follow :
name | value | game |
String, always "connectFour". - Can be usefull if you use the same URL for play to others games. + Can be usefull if you use the same URL to play others games. |
---|---|
match_id |
String. Match the following regular expression : ^[0-9]+-(1|2)$ -The first number (digits before the hyphen) identified the game. -The number after the hyphen indicates whether you are the first or second bot in the order to play. -It will serve you if your AI makes statistics on games. +The first number (digits before the hyphen) identifies the game. +The number after the hyphen indicates whether you are the first or second bot playing. +It will help you if your AI makes statistics on games. |
you | your symbol in the grid |
grid | String, representing an array in JSON format. this is the wire. + |
grid | String, representing an array in JSON format. this is the grid. the first seven values are the bottom horizontal line. Exemple: @@ -44,5 +44,5 @@ It will serve you if your AI makes statistics on games. |
only one char: 0,1,2,3,4,5 or 6 that indicates the column you want to play