start dev connect four
This commit is contained in:
parent
217dd0a4d0
commit
5737665644
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