-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
88 lines (78 loc) · 2.09 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
<!DOCTYPE html>
<html lang="en" >
<head >
<meta charset="UTF-8" >
<title >five in a row</title >
<style >
* {
padding: 0;
margin: 0;
}
.main {
height: 100vh;
width: 100vw;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
}
.container {
position: relative;
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
}
.buttons {
position: absolute;
right: -100px;
display: flex;
flex-direction: column;
}
.button {
margin-bottom: 12px;
padding: 6px 12px;
border: 1px solid #999;
border-radius: 4px;
background: #ffffff;
}
.goBoard {
/*box-shadow: 4px 5px 20px rgba(0, 0, 0, 0.63);*/
}
</style >
</head >
<body >
<div class="main" >
<div class="container" >
<canvas id="goBoard" class="goBoard" width="578" height="578" ></canvas >
<div class="buttons" >
<button class="button newRound" >New Round</button >
<button class="button undo" >Undo</button >
<button class="button redo" >Redo</button >
</div >
</div >
</div >
<script src="js/Constants.js" ></script >
<script src="js/EventHub.js" ></script >
<script src="js/model/ZobristHash.js" ></script >
<script src="js/model/TranspositionTableEntry.js" ></script >
<script src="js/model/TranspositionTable.js" ></script >
<script src="js/model/Move.js" ></script >
<script src="js/model/Point.js" ></script >
<script src="js/model/Player.js" ></script >
<script src="js/model/Evaluator.js" ></script >
<script src="js/model/Master.js" ></script >
<script src="js/model/Board.js" ></script >
<script src="js/components/GoBoard.js" ></script >
<script src="js/components/Stone.js" ></script >
<script src="js/components/CircleStone.js" ></script >
<script src="js/components/CrossStone.js" ></script >
<script src="js/View.js" ></script >
<script src="js/Controller.js" ></script >
<script src="js/App.js" ></script >
<script >
const app = new App();
app.init();
</script >
</body >
</html >