-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
48 lines (45 loc) · 1.17 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Canvas Hexagonal Map</title>
<style type="text/css">
canvas {
border:0;
display:block;
margin-left: 20px;
margin-top: 20px;
}
#body{
position: relative;
}
#hexmap{
float: left;
border-top: 2px solid red;
/*border-bottom: 2px solid red; */
}
#firster{
}
#later{
margin-left: 40px;
}
#container{
position: absolute;
right: 200px;
top: 20px;
display: inline-block;
width: 200px;
}
</style>
</head>
<body>
<canvas id="hexmap" width="720" height="624"></canvas>
<div id="container">
<button id="firster">AI先手</button>
<button id="later">AI后手</button>
</div>
<script>
</script>
<script src="js/main.js"></script>
</body>
</html>