From bed6efdf442eb664c1d046fe731f391fb6da4bc5 Mon Sep 17 00:00:00 2001 From: gnieark Date: Thu, 10 Dec 2015 20:53:13 +0100 Subject: [PATCH] battle ship functions --- src/arenas/Battleship/functions.php | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/arenas/Battleship/functions.php 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']); +}