2019-12-06 06:09:46 +01:00
|
|
|
<!--AUTHOR Chiara RELEVAT- Nuit de l'info 2018-->
|
2019-12-05 21:47:28 +01:00
|
|
|
<!DOCTYPE html>
|
2019-12-05 23:49:19 +01:00
|
|
|
<!--https:/www.w3schools.com/graphics/game_intro.asp-->
|
|
|
|
<!--https:/www.trex-game.skipser.com-->
|
|
|
|
|
2019-12-05 21:47:28 +01:00
|
|
|
<html>
|
|
|
|
|
|
|
|
<head>
|
2019-12-05 23:49:19 +01:00
|
|
|
<meta charset="UTF8" />
|
2019-12-05 21:47:28 +01:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
2019-12-06 04:12:43 +01:00
|
|
|
<link rel="stylesheet" type="text/css" href="./styles.css" />
|
2019-12-06 07:11:29 +01:00
|
|
|
<title>404 - Game Found !</title>
|
2019-12-05 21:47:28 +01:00
|
|
|
</head>
|
|
|
|
|
2019-12-06 01:43:54 +01:00
|
|
|
<body>
|
2019-12-06 04:12:43 +01:00
|
|
|
<!--Jeux principal-->
|
2019-12-06 07:11:29 +01:00
|
|
|
<h1 class="center">Fuyez l'homme en noir ! 404 - Game Found !</h1>
|
2019-12-06 01:43:54 +01:00
|
|
|
<script src="./scores.js">
|
|
|
|
startGame()
|
|
|
|
</script>
|
2019-12-06 04:12:43 +01:00
|
|
|
|
|
|
|
<!--Tableau des scores-->
|
|
|
|
<h3 class="cote">Meilleur score</h3>
|
2019-12-06 01:43:54 +01:00
|
|
|
<script src="./script.js">
|
|
|
|
load()
|
|
|
|
</script>
|
2019-12-06 04:12:43 +01:00
|
|
|
<table class="tab">
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
<p>1ST</p>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<script>
|
|
|
|
document.write(getPremier());
|
|
|
|
</script>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
<p>2ND</p>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<script>
|
|
|
|
document.write(getSecond());
|
|
|
|
</script>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
<p>3RD</p>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<script>
|
|
|
|
document.write(getTroisieme());
|
|
|
|
</script>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
2019-12-06 01:43:54 +01:00
|
|
|
|
2019-12-06 04:12:43 +01:00
|
|
|
<!--gif homme en noir qui marche-->
|
2019-12-06 01:43:54 +01:00
|
|
|
<img src="./gifs/homme trop swag.gif" alt="homme en noir" height="150" width="150">
|
2019-12-05 22:15:59 +01:00
|
|
|
|
2019-12-06 04:12:43 +01:00
|
|
|
<!--Insertion de l'audio a chaque saut-->
|
2019-12-06 05:19:40 +01:00
|
|
|
<audio id="monAudio"> </audio>
|
|
|
|
<script src="./sons.js"></script>
|
2019-12-06 04:12:43 +01:00
|
|
|
|
|
|
|
<!--bouton evenement-->
|
2019-12-05 21:47:28 +01:00
|
|
|
<br>
|
2019-12-06 05:28:06 +01:00
|
|
|
<button onmousedown="sauter(-0.05)" onmouseup="sauter(0.05)" onclick="playAudio()">SAUTER</audio></button>
|
2019-12-06 01:43:54 +01:00
|
|
|
|
2019-12-06 04:12:43 +01:00
|
|
|
<!--lancer le jeux-->
|
2019-12-06 01:43:54 +01:00
|
|
|
<script>
|
|
|
|
startGame()
|
|
|
|
load()
|
|
|
|
</script>
|
2019-12-05 21:47:28 +01:00
|
|
|
</body>
|
|
|
|
|
|
|
|
</html>
|