diff --git a/src/arenas/Battleship/functions.php b/src/arenas/Battleship/functions.php new file mode 100644 index 0000000..6d73da4 --- /dev/null +++ b/src/arenas/Battleship/functions.php @@ -0,0 +1,17 @@ + $botsCount)){ + error(400,"wrong parameters"); + die; + } + } + return array('bot1' => $_POST['bot1'],'bot2' => $_POST['bot2']); +}