You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
878 B

$file = isset($_GET['level']) ? $_GET['level'] : null;
$custom = 'false';
$niveau = '1';
if ($file !== null && file_exists(__DIR__ .'/custom/'.$file.'.js')){
$custom = 'true';
$niveau = $file;
<!DOCTYPE html>
<link rel="stylesheet" type="text/css" href="assets/css/index.css" />
<link rel="stylesheet" type="text/css" href="assets/css/css3buttons.css" />
#board{width:300px;height:300px; margin:200px auto;background-color:#FFF;}
<script src="assets/js/jquery.min.js"></script>
<script src="assets/js/jquery.color.js"></script>
let niveau = <?=$niveau?>;
let custom = <?=$custom?>;
<script src="assets/js/load.js"></script>
<noscript>javascript must be activated to play this game.</noscript>