-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
33 lines (33 loc) · 1.21 KB
/
index.html
File metadata and controls
33 lines (33 loc) · 1.21 KB
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
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Chain Reaction Game</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div id="app">
<h1>Chain Reaction</h1>
<div id="modeSelector">
<label><input type="radio" name="mode" value="pvp" checked> Joueur vs Joueur</label>
<label><input type="radio" name="mode" value="pvc"> Contre l'ordinateur</label>
<button id="startButton">Nouvelle partie</button>
</div>
<div id="scoreboard">
<p>Joueur 1: <span id="player1Score">0</span> | Coups restants: <span id="player1Moves">2</span></p>
<p id="player2Label">Joueur 2: <span id="player2Score">0</span> | Coups restants: <span id="player2Moves">2</span></p>
</div>
<div id="gameBoard">
<table id="grid">
</table>
</div>
<div id="controls">
<button id="drawBlockButton">Tirer un bloc</button>
<button id="endTurnButton">Fin du tour</button>
</div>
<p id="message"></p>
</div>
<script src="script.js"></script>
</body>
</html>