-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
executable file
·29 lines (29 loc) · 1.21 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
<!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<html>
<script type="text/javascript" src="./script.js"></script>
<head>
<title>Space-Invaders</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width">
<style type="text/css">
#SpaceInvadersCanvas{
border: solid;
}
</style>
<link rel="stylesheet" media="all" type="text/css" href="./style.css">
</head>
<body onload ="initListener();initGame();">
<canvas id="SpaceInvadersCanvas" height="400" width="500" style = "background-color: #FFF;">
</canvas>
<div id="txtLoos" style = " display : block; border : solid red 3px ;height:45px; width : 500px; margin-top : 10px; padding-top : 7px ; padding-bottom: 0px; ">
Ship : <div id="nbShip" style="display : inline">0</div><br/>
Score: <div id="score" style="display : inline">0</div>
</div>
<audio src="./Musique/Intro.mp3" autoplay/>
</body>
</html>