-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
48 lines (34 loc) · 1018 Bytes
/
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
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title>Go Moku</title>
<link rel="stylesheet" href="css/style.css" type="text/css">
</head>
<body>
<div class="custom-canvas" id="canvas">
<div class="control-panel">
<button onclick="undo()" class="btn">Undo</button>
<div class="turn-container">
<div class="cross-turn standart-turn">
<p id="cross_turn">0</p>
</div>
<div class="ring-turn standart-turn">
<p id="ring_turn">0</p>
</div>
</div>
</div>
<div class="game-area" id="matharea">
<img src="images/20xOriginalTransparentMarked.png" alt="game-zone" class="game-area" onclick="putACrossHere()">
</div>
</div>
<div class="foreground" id="foreground"></div>
<div class="win-block" id="win-block">
You win, X Player!
</div>
<script type="text/javascript" src="script/main.js"></script>
<script type="text/javascript">
mainLoop();
</script>
</body>
</html>