start dev connect four
This commit is contained in:
parent
a4f8064ff2
commit
49fa966c1b
0
src/arenas/connectFour/js.js
Normal file
0
src/arenas/connectFour/js.js
Normal file
18
src/arenas/connectFour/public.php
Normal file
18
src/arenas/connectFour/public.php
Normal file
|
@ -0,0 +1,18 @@
|
|||
<?php
|
||||
require_once(__DIR__."/functions.php");
|
||||
|
||||
$bots=get_Bots_Array('connectFour');
|
||||
$postParams=get_Post_Params(count($bots));
|
||||
if(!$postParams){
|
||||
$bot1="";
|
||||
$bot2="";
|
||||
}else{
|
||||
$bot1=$postParams['bot1'];
|
||||
$bot2=$postParams['bot2'];
|
||||
}
|
||||
|
||||
?>
|
||||
<article>
|
||||
<h2>Connect Four</div>
|
||||
<div id="fightResult"></div>
|
||||
</article>
|
0
src/arenas/connectFour/style.css
Normal file
0
src/arenas/connectFour/style.css
Normal file
|
@ -15,6 +15,14 @@ $arenas=array(
|
|||
'metaDescription' => 'Affrontements de bots à la battaille navale',
|
||||
'jsFile'=> "js.js",
|
||||
'cssFile'=> "style.css"
|
||||
),
|
||||
array(
|
||||
'id' => "connectFour",
|
||||
'url' => "/connectFour",
|
||||
'title' => "Puissance 4",
|
||||
'metaDescription' => 'Affrontements de bots puissance 4',
|
||||
'jsFile'=> "js.js",
|
||||
'cssFile'=> "style.css"
|
||||
)
|
||||
|
||||
);
|
Loading…
Reference in New Issue
Block a user