@ -1,4 +1,7 @@
<?php
header('Access-Control-Allow-Origin: *');
header('Access-Control-Allow-Methods: GET, POST');
/*
* stupid IA for battle ship
* choose by random a free column
$cases=array("0-0","0-1","0-2","1-0","1-1","1-2","2-0","2-1","2-2");
//remplir l'array
$freeCases=array();
@ -1,4 +1,6 @@
* Tic Tac Toe gnieark's IA V2
* Gnieark 2016