🎨 starts cleaning code before adding labyrinth generation

This commit is contained in:
2024-04-25 17:52:58 +02:00
parent 69b6cafb28
commit f7754632de
4 changed files with 74 additions and 89 deletions

View File

@@ -1,5 +1,5 @@
<?php
$file = isset($_GET['level']) ? $_GET['level'] : null;
$file = $_GET['level'] ?? null;
$custom = 'false';
$niveau = '1';
if ($file !== null && file_exists(__DIR__ .'/custom/'.$file.'.js')){
@@ -8,8 +8,9 @@ if ($file !== null && file_exists(__DIR__ .'/custom/'.$file.'.js')){
}
?>
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<title>Blind Laby</title>
<link rel="stylesheet" type="text/css" href="assets/css/index.css" />
<link rel="stylesheet" type="text/css" href="assets/css/css3buttons.css" />
<style>