diff --git a/src/arenas/tictactoe/act.php b/src/arenas/tictactoe/act.php index 9a72928..015765a 100644 --- a/src/arenas/tictactoe/act.php +++ b/src/arenas/tictactoe/act.php @@ -66,6 +66,7 @@ switch ($_POST['act']){ OR (($map['0-2']==$map['1-1'])&&($map['1-1']==$map['2-0'])&&($map['2-0']!=="")) ){ echo "
".$playerName." ".$playerCHAR." a gagné.
"; + save_battle('tictactoe',$bot1,$bot2,$playerPlayingNow); $end=true; break; } @@ -79,6 +80,7 @@ switch ($_POST['act']){ } if($full){ echo "Match nul
"; + save_battle('tictactoe',$bot1,$bot2,0); $end=true; break; }