-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
35 lines (32 loc) · 1.18 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
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="./assets/game.css">
</head>
<body>
<h1 id='title'>SPACE GAME</h1>
<div id='gameLocation'>
<iframe height="585px" width="960px" src="./game/index.html" id='game'></iframe>
</div>
<div id='rule'>
<p>操作說明:</p>
<p>A 鍵:向左</p>
<p>D 鍵:向右</p>
<p>空白鍵:發射子彈</p>
<p>遊戲開始時,需先按下遊戲畫面才可進行操作,在遊戲中按下遊戲畫面外側即可暫停</p>
<br>
<p>規則說明:</p>
<p>操作<img src="./assets/img/fighter.png">來破壞<img src="./assets/img/rock.png">,破壞一顆可得一百分</p>
<p>遊戲開始時會有三顆<img src="./assets/img/HP.png"></p>
<p>如果被<img src="./assets/img/rock.png">擊中的話會扣一顆<img src="./assets/img/HP.png"></p>
<p>當<img src="./assets/img/HP.png">數量降至零時,遊戲結束</p>
<br>
</div>
<div id='buttonsLocation'>
<button id='start' class="button">START</button>
<button id='restart' class="button">RESTART</button>
<button id='home' class="button">HOME</button>
</div>
<script src="./assets/game.js"></script>
</body>
</html>