This commit is contained in:
Gnieark 2016-05-09 23:50:07 +02:00
parent 651371ef27
commit e036bd55da
3 changed files with 18 additions and 1 deletions

View File

@ -0,0 +1,14 @@
<?php
require_once(__DIR__."/functions.php");
switch ($_POST['act']){
case "fight":
break;
default:
break;
}

View File

@ -0,0 +1,3 @@
function connectFour(bot1,bot2,xd_check){
}

View File

@ -40,6 +40,6 @@ if(!$postParams){
?>
</select>
</p>
<p><input type="button" value="<?php echo $lang['FIGHT']; ?>" onclick="tictactoe(document.getElementById('bot1').value,document.getElementById('bot2').value,'<?php echo xd_check_input(2); ?>');"></p>
<p><input type="button" value="<?php echo $lang['FIGHT']; ?>" onclick="connectFour(document.getElementById('bot1').value,document.getElementById('bot2').value,'<?php echo xd_check_input(2); ?>');"></p>
<div id="fightResult"></div>
</article>