-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
87 lines (77 loc) · 3.28 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<!--Il n'y a pas de mauvais navigateur, il n'y que du mauvais code !-->
<!DOCTYPE html>
<html>
<head>
<title>PacMan - SIG3</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" href="picture\pacman_carte.png" />
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-iYQeCzEYFbKjA/T2uDLTpkwGzCiq6soy8tYaI1GyVh/UjpbCx/TYkiZhlZB6+fzT" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/ol.css">
<link rel="stylesheet" type="text/css" href="style.css" >
</head>
<body>
<div class ="hautdepage">
<div style="text-align: center;">
<img src="picture/pacman_museum.png" width=30% height=30% alt="">
</div>
</div>
<div class ="hautdepage">
<marquee width="100%" scrollamount="25" scrolldelay="10">
<!-- L'objet parcourt 2px chaque 10ms -->
<img src="picture/pacman.jpg" width="20%">
</marquee>
</div>
<!--
<h3>
<FONT face="Impact">
<div style="text-align: center;">
</div>
Bienvenue aux fans de pacman, cette version est une édition spéciale HEIG-VD et même EC+G. Alors cliquez sur jouer.
</h3>
-->
<div class="container text-center">
<div class="row">
<div class="col-6">
<form action="/index.html" method="post">
<div>
<label for="name">Nom :</label>
<input type="text" id="name" name="user_name">
</div>
</form>
<h3>
Meilleures scores
</h3>
<!-- https://michael-karen.medium.com/how-to-save-high-scores-in-local-storage-7860baca9d68
https://dev.to/minna_xd/adding-a-high-score-table-to-javascript30-whack-a-mole-4adk
https://progbook.org/ex_hiscore_table.html
-->
<div class="scores">
<table>
<tr>
<th>Classement</th>
<th>Nom</th>
<th>Points</th>
</tr>
<tr>
<td>1</td>
<td>MFX</td>
<td>500</td>
</tr>
<tr>
<td>2</td>
<td>APB</td>
<td>300</td>
</tr>
</table>
</div>
</div>
<div class="col-6">
<div class="button">
<button class="button-play" onclick="window.location.href = 'game_map.html'""> Jouer </button>
</div>
</div>
</div>
</div>
</body>
</html>