-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
54 lines (50 loc) · 1.04 KB
/
Copy pathindex.html
File metadata and controls
54 lines (50 loc) · 1.04 KB
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
<!doctype html>
<html>
<head>
<title>Game</title>
<style>
body {
background-image: url("images/back.jpg");
background-size: 100%;
}
#gameCanvas {
background-image: url("images/home.jpg");
background-size: 100%;
width: 1000px;
height: 540px;
margin: auto;
align: center;
border-style: ridge;
border-width: 3px;
}
#scoreboard {
text-align: center;
font-family: Segoe UI, Helvetica, Ubuntu, sans-serif;
color: white;
margin-top: -17px;
}
#scores {
font-size:120%;
padding:0;
color: white;
}
#title {
background-color: white;
color: black;
padding: 5px;
font-size:150%;
margin-top: -15px;
}
</style>
</head>
<body onload='setup();'>
<div id='gameCanvas'></div>
<script src='./Scripts/three.min.js'></script>
<script src='./Scripts/variables.js'></script>
<script src='./Scripts/controls.js'></script>
<script src='./Scripts/game.js'></script>
<div id='scoreboard'>
<h4 id='scores'>0-0</h4>
</div>
</body>
</html>