|
|
@ -2,18 +2,36 @@
|
|
|
|
<link rel="stylesheet" type="text/css" href="highscores.css"/>
|
|
|
|
<link rel="stylesheet" type="text/css" href="highscores.css"/>
|
|
|
|
</head>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<body>
|
|
|
|
|
|
|
|
<div>
|
|
|
|
|
|
|
|
<div class="logo">
|
|
|
|
|
|
|
|
<img src="ress/logo_dark.png" id="logo"/>
|
|
|
|
|
|
|
|
<img src="ress/light" id="light" class="lightButton" onClick="switchLight()"/>
|
|
|
|
|
|
|
|
|
|
|
|
<img src="ress/light" id="light" class="lightButton" onClick="switchLight()"/>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<form action="highscores.php" method="post">
|
|
|
|
<form action="highscores.php" method="post">
|
|
|
|
<div id="modeSelection">
|
|
|
|
|
|
|
|
<ul id="modes">
|
|
|
|
<div id="modeSelection" class="mode-container">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<ul id="diff" class="all-container bd">
|
|
|
|
|
|
|
|
<input type="radio" class="rad" name="difficulty" id="easy" value="easy" />
|
|
|
|
|
|
|
|
<label for="easy"><img id="img_easy" class="button" src="./ress/button_diff_easy.png"/></label>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<input type="radio" class="rad" name="difficulty" id="med" value="med" />
|
|
|
|
|
|
|
|
<label for="med"><img id="img_med" class="button" src="./ress/button_diff_normal.png"/></label>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<input type="radio" class="rad" name="difficulty" id="hard" value="hard" />
|
|
|
|
|
|
|
|
<label for="hard"><img id="img_hard" class="button" src="./ress/button_diff_hard.png"/></label>
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
<ul id="modes" class="all-container bd">
|
|
|
|
<img id="img_points" class="button" src="./ress/button_mode_points.png"/>
|
|
|
|
<img id="img_points" class="button" src="./ress/button_mode_points.png"/>
|
|
|
|
|
|
|
|
|
|
|
|
<img id="img_temps" class="button" src="./ress/button_mode_temps.png"/>
|
|
|
|
<img id="img_temps" class="button" src="./ress/button_mode_temps.png"/>
|
|
|
|
|
|
|
|
|
|
|
|
<img id="img_survie" class="button" src="./ress/button_mode_survie.png"/>
|
|
|
|
<img id="img_survie" class="button" src="./ress/button_mode_survie.png"/>
|
|
|
|
</ul>
|
|
|
|
</ul>
|
|
|
|
<ul id="points" class="all-container">
|
|
|
|
<ul id="points" class="all-container ad">
|
|
|
|
<input type="radio" class="rad" name="game_mode" id="5p" value="5p" />
|
|
|
|
<input type="radio" class="rad" name="game_mode" id="5p" value="5p" />
|
|
|
|
<label for="5p"><img id="img_5p" class="button" src="./ress/button_points_5.png"/></label>
|
|
|
|
<label for="5p"><img id="img_5p" class="button" src="./ress/button_points_5.png"/></label>
|
|
|
|
|
|
|
|
|
|
|
@ -27,7 +45,7 @@
|
|
|
|
<label for="20p"><img id="img_20p" class="button" src="./ress/button_points_20.png"/></label>
|
|
|
|
<label for="20p"><img id="img_20p" class="button" src="./ress/button_points_20.png"/></label>
|
|
|
|
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
</ul>
|
|
|
|
<ul id="temps" class="all-container">
|
|
|
|
<ul id="temps" class="all-container ad">
|
|
|
|
<input type="radio" class="rad" name="game_mode" id="5m" value="5m" />
|
|
|
|
<input type="radio" class="rad" name="game_mode" id="5m" value="5m" />
|
|
|
|
<label for="5m"><img id="img_5m" class="button" src="./ress/button_temps_5.png"/></label>
|
|
|
|
<label for="5m"><img id="img_5m" class="button" src="./ress/button_temps_5.png"/></label>
|
|
|
|
|
|
|
|
|
|
|
@ -35,7 +53,7 @@
|
|
|
|
<label for="10m"><img id="img_10m" class="button" src="./ress/button_temps_10.png"/></label>
|
|
|
|
<label for="10m"><img id="img_10m" class="button" src="./ress/button_temps_10.png"/></label>
|
|
|
|
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
</ul>
|
|
|
|
<ul id="survie" class="all-container">
|
|
|
|
<ul id="survie" class="all-container ad">
|
|
|
|
<input type="radio" class="rad" name="game_mode" id="15s" value="15s"/>
|
|
|
|
<input type="radio" class="rad" name="game_mode" id="15s" value="15s"/>
|
|
|
|
<label for="15s"><img id="img_15s" class="button" src="./ress/button_survie_15.png"/></label>
|
|
|
|
<label for="15s"><img id="img_15s" class="button" src="./ress/button_survie_15.png"/></label>
|
|
|
|
|
|
|
|
|
|
|
@ -47,17 +65,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<ul id="diff" class="all-container">
|
|
|
|
|
|
|
|
<input type="radio" class="rad" name="difficulty" id="easy" value="easy" />
|
|
|
|
|
|
|
|
<label for="easy"><img id="img_easy" class="button" src="./ress/button_diff_easy.png"/></label>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<input type="radio" class="rad" name="difficulty" id="med" value="med" />
|
|
|
|
|
|
|
|
<label for="med"><img id="img_med" class="button" src="./ress/button_diff_normal.png"/></label>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<input type="radio" class="rad" name="difficulty" id="hard" value="hard" />
|
|
|
|
|
|
|
|
<label for="hard"><img id="img_hard" class="button" src="./ress/button_diff_hard.png"/></label>
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div>
|
|
|
|
<div>
|
|
|
|
<p>Mode pause activé : </p>
|
|
|
|
<p>Mode pause activé : </p>
|
|
|
|
<input type="radio" id="pause1" value="1" name="pause">
|
|
|
|
<input type="radio" id="pause1" value="1" name="pause">
|
|
|
@ -66,12 +73,16 @@
|
|
|
|
<label for="pause0">Non</label>
|
|
|
|
<label for="pause0">Non</label>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<p>Changer le nombre de points</p>
|
|
|
|
<p>Changer le nombre de points</p>
|
|
|
|
<input type="range" min="2" max="8" class="slider" name="dotsAmount" id="range_dots">
|
|
|
|
|
|
|
|
<p>Nombre de points : <span id="dotsNumber"></span></p>
|
|
|
|
<img src="ress/-" onClick="less()" id="-"/>
|
|
|
|
|
|
|
|
<span id="dotsNumber"></span>
|
|
|
|
|
|
|
|
<img src="ress/+" onClick="more()" id="+"/>
|
|
|
|
|
|
|
|
<input id="amountHi" name="dotsAmount" type="hidden">
|
|
|
|
|
|
|
|
|
|
|
|
<input type="image" src="ress/button_highscores.png" alt="Submit" id="btn_high">
|
|
|
|
<input type="image" src="ress/button_highscores.png" alt="Submit" id="btn_high">
|
|
|
|
<img id="btn_high_des" src="ress/button_highscores_desac.png"/>
|
|
|
|
<img id="btn_high_des" src="ress/button_highscores_desac.png"/>
|
|
|
|
</form>
|
|
|
|
</form>
|
|
|
|
Entrez votre pseudo (optionnel, mais nécessaire si vous voulez sauvegarder votre score): <br/>
|
|
|
|
Entrez votre pseudo : <br/>
|
|
|
|
<input type="text" id="field_pseudo" /><br/>
|
|
|
|
<input type="text" id="field_pseudo" /><br/>
|
|
|
|
<img id="btn_play" src="ress/button_play.png" onClick="play()"/>
|
|
|
|
<img id="btn_play" src="ress/button_play.png" onClick="play()"/>
|
|
|
|
<img id="btn_play_des" src="ress/button_play_desac.png"/>
|
|
|
|
<img id="btn_play_des" src="ress/button_play_desac.png"/>
|
|
|
|