-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.html
37 lines (29 loc) · 1.23 KB
/
main.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<script src="./js/scoreboard.js"></script>
<script src="./js/bullet.js"></script>
<script src="./js/obstacles.js"></script>
<script src="./js/guests.js"></script>
<script src="./js/player.js"></script>
<script src="./js/background.js"></script>
<script src="./js/game.js"></script>
<script src="./js/script.js"></script>
</script>
<link rel="stylesheet" href="style.css">
<title>Western Bar</title>
</head>
<body
style="overflow:hidden; text-align: center;background-image: url(img/woodropes.png);background-repeat: no-repeat;background-size: cover; ">
<button id="start-button">Start Game</button><br>
<img src="img/title_logo.png" width="auto" style="margin-top: 80px">
<h2 style="margin-top: 50px;">How to play?<h2>
<p>Use Right and Left keys to move the Sheriff and press the space bar to shoot, good luck!</p>
<div id="game-board">
<canvas style="margin-top: 100px;" width="800" height="400" id="canvas"></canvas>
</div>
</body>
</html>