-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
48 lines (44 loc) · 1.24 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 lang="en">
<head>
<meta charset="UTF-8">
<title>Shisha-Bar-Game</title>
<script language="JavaScript" src="src/Mines.js" defer></script>
<script language="JavaScript" src="src/LumberCamp.js" defer></script>
<script language="JavaScript" src="src/BoardGenerator.js" defer></script>
<script language="JavaScript" src="src/Game.js" defer></script>
<style>
#game > div {
height: 50px;
}
#game > div > div {
background: url("./assets/tileable_grass_00.png") no-repeat;
color: white;
width: 50px;
height: 50px;
border: thin solid black;
border-collapse: collapse;
display: inline-block;
margin: 0;
padding: 0;
cursor: pointer;
}
#game > div > div:hover {
cursor: pointer;
}
.lumberCamp {
display: inline-block;
width: 50px;
height: 50px;
padding: 0;
margin: 0;
background: url("./assets/lumberCamp.jpg") no-repeat;
background-size: cover;
}
</style>
</head>
<body>
<div id="woodCount"></div>
<div id="game"></div>
</body>
</html>