NDI-2019/Jeux_404/main.html
2019-12-06 01:43:54 +01:00

54 lines
1.1 KiB
HTML

<!DOCTYPE html>
<!--https:/www.w3schools.com/graphics/game_intro.asp-->
<!--https:/www.trex-game.skipser.com-->
<html>
<head>
<meta charset="UTF8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<style>
canvas {
border-bottom: 2px solid #0d0d0d;
}
.center {
text-align: center;
}
button {
margin-top: +50px;
display: block;
margin-left: auto;
margin-right: auto;
}
img {
margin-top: +130px;
margin-left: +300px;
}
</style>
</head>
<body>
<h1 class="center">Fuyez l'homme en noir !</h1>
<script src="./scores.js">
startGame()
</script>
<script src="./script.js">
load()
</script>
<img src="./gifs/homme trop swag.gif" alt="homme en noir" height="150" width="150">
<br>
<button onmousedown="sauter(-0.5)" onmouseup="sauter(0.05)">SAUTER</button>
<script>
startGame()
load()
</script>
</body>
</html>