-
Notifications
You must be signed in to change notification settings - Fork 0
/
rules.html
89 lines (71 loc) · 2.8 KB
/
rules.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>Othello Game</title>
<meta name="description" content="TO COMPLETE">
<meta name="keywords" content="TO COMPLETE">
<link rel="icon" type="image/x-icon" href="./resources/images/favicon.ico">
<link rel="stylesheet" href="./styles.css">
<!-- Preloading scripts to improve performance. -->
<link rel="preload" href="./behavior.js" as="script">
<!-- Defer scripts to load them after the DOM has been fully parsed. -->
<script src="./behavior.js" defer></script>
</head>
<body>
<!-- HEADER -->
<header>
<!-- Othello Game logo -->
<div id="logo_container">
<img src="./resources/images/logo-othello_game.png" alt="Othello Game logo">
<a href="./index.html">
<h1>Othello Game</h1>
</a>
</div>
<nav>
<!-- Informations menu -->
<ul id="informations_menu_container">
<li><a href="./about.html">About</a></li>
<li><a href="./rules.html">Rules</a></li>
</ul>
<span>|</span>
<!-- Game mode menu -->
<div id="game_mode_menu_container">
<label class="game_mode_button" for="single_player">
<input id="single_player" type="radio" name="game_mode_button">
<span>Single Player</span>
</label>
<label class="game_mode_button" for="local_multiplayer">
<input id="local_multiplayer" type="radio" name="game_mode_button">
<span>Local Multiplayer</span>
</label>
<label class="game_mode_button" for="online_multiplayer">
<input id="online_multiplayer" type="radio" name="game_mode_button" disabled>
<span class="disabled_button">Online Multiplayer</span>
</label>
</div>
<span>|</span>
<!-- Restart button -->
<button id="restart_button"
onclick="if (confirm('Are you sure you want to restart the game?')) { restartGame(); }">
<img src="./resources/images/icon-restart.png" alt="Restart icon">
</button>
</nav>
<!-- Hamburger button -->
<div id="hamburger_icon">
<span class="bar"></span>
<span class="bar"></span>
<span class="bar"></span>
</div>
</header>
<!---------- MAIN ---------->
<main>
<h1>Rules</h1>
</main>
<!-- FOOTER -->
<footer>
<p>A minute to learn... A lifetime to master!</p>
</footer>
</body>
</html>