forked from szymonSys/memoryGameJs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
97 lines (96 loc) · 3.82 KB
/
index.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
90
91
92
93
94
95
96
97
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<link rel="stylesheet" href="style.css" />
<title>Memory The Game</title>
</head>
<body>
<div id="container" class="container">
<div class="interface interface-1">
<div class="difficult">
<label for="difficult-select">difficulty level:</label>
<select name="difficult-select" id="difficulty-select">
<option value="easy">Easy</option>
<option value="normal" selected>Normal</option>
<option value="hard">Hard</option>
</select>
</div>
<div class="username">
<label for="username-input">name:</label>
<input type="text" name="username" id="username-input" />
<button
class="btn btn-ok"
id="username-button"
data-btn-for="username-input"
>
ok
</button>
<span id="username"></span>
</div>
<div class="timer">game time: <span id="timer">00.00</span></div>
<div class="actions">actions counter: <span id="actions">0</span></div>
</div>
<div id="grid" class="game-grid"></div>
<div class="interface interface-2">
<div class="info"><span></span></div>
<button class="btn btn-start" data-game="start" id="start-stop">
START
</button>
<button class="btn btn-reset" id="reset">RESET</button>
</div>
<div id="rank-table" class="rank-table">
<div class="rank-table-header">
<div id="header-number" class="header-part">p.</div>
<div id="header-name" class="header-part">name</div>
<div id="header-time" class="header-part">time</div>
<div id="header-counter" class="header-part">actions</div>
<div id="header-difficulty" class="header-part">difficulty</div>
</div>
<div id="results-table"></div>
</div>
</div>
<script type="text/javascript">
const imgUrls = [
// Add all image urls here
'https://via.placeholder.com/200/093/fff',
'https://via.placeholder.com/202/093/fff',
'https://via.placeholder.com/204/093/fff',
'https://via.placeholder.com/206/093/fff',
'https://via.placeholder.com/208/093/fff',
'https://via.placeholder.com/210/093/fff',
'https://via.placeholder.com/212/093/fff',
'https://via.placeholder.com/214/093/fff',
'https://via.placeholder.com/216/093/fff',
'https://via.placeholder.com/218/093/fff',
'https://via.placeholder.com/220/093/fff',
'https://via.placeholder.com/222/093/fff',
'https://via.placeholder.com/224/093/fff',
'https://via.placeholder.com/226/093/fff',
'https://via.placeholder.com/228/093/fff',
'https://via.placeholder.com/230/093/fff',
'https://via.placeholder.com/232/093/fff',
'https://via.placeholder.com/234/093/fff',
'https://via.placeholder.com/236/093/fff',
'https://via.placeholder.com/238/093/fff',
'https://via.placeholder.com/240/093/fff',
'https://via.placeholder.com/242/093/fff',
'https://via.placeholder.com/244/093/fff',
'https://via.placeholder.com/246/093/fff',
'https://via.placeholder.com/248/093/fff',
'https://via.placeholder.com/250/093/fff',
];
</script>
<script src="Interface.js"></script>
<script src="Square.js"></script>
<script src="Grid.js"></script>
<script src="Stats.js"></script>
<script src="Game.js"></script>
<script src="Result.js"></script>
<script src="Table.js"></script>
<script src="Controller.js"></script>
<script src="main.js"></script>
</body>
</html>