-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathparametres.html
40 lines (39 loc) · 1.99 KB
/
parametres.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<!----------------------------------------------------------------------------------------------
// Projet : Snake en JavaScript //
// Auteur : LEBET Esteban //
// Classe : CIN1B //
// Date : 19.04.2024 //
// Description : Page permettant de changer certains paramètres de la réplique de Snake //
// Lieu : ETML, Sébeillon //
----------------------------------------------------------------------------------------------->
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Snake Esteban - Paramètres</title>
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<div id="gameContainer">
<a href="index.html" id="backButton"><- RETOUR </a> <!-- Flèche de retour -->
<canvas id="gameBoard" width="600" height="600"></canvas>
<div id="colorInputsContainer">
<div class="colorInputRow">
<label for="colorInput1">Couleur du Fond</label>
<input type="color" id="colorInput1" name="color1" value="#add8c1">
</div>
<div class="colorInputRow">
<label for="colorInput2">Couleur Serpent</label>
<input type="color" id="colorInput2" name="color2" value="#273608">
</div>
</div>
<div id="controlsDifficulty">
<button class="difficultyBtn" id="easyBtn" href="jouer.html">FACILE</button>
<button class="difficultyBtn" id="normalBtn">NORMAL</button>
<button class="difficultyBtn" id="hardBtn">DIFFICILE</button>
</div>
<div id="scoreText"></div>
</div>
</body>
</html>