connectFour/connectfou

This commit is contained in:
gnieark 2016-06-11 11:59:29 +02:00
parent 27ca3d91eb
commit 04604fd89b
2 changed files with 2 additions and 2 deletions

View File

@ -106,7 +106,7 @@ switch ($_POST['act']){
*/
//make post datas to send
$postDatas=array(
'game-id' => $_SESSION['matchId'],
'game-id' => "".$_SESSION['matchId'],
'action' => 'play-turn',
'game' => 'connectfour',
'players' => 2,

View File

@ -15,7 +15,7 @@ function get_IA_Response($iaUrl,$postParams){
);
$output= curl_exec($ch);
curl_close($ch);
echo $iaUrl." ".$data_string." ".$output.'<br/>';
//echo $iaUrl." ".$data_string." ".$output.'<br/>';
return json_decode($output,TRUE);
}
function get_Post_Params($botsCount){