-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
145 lines (134 loc) · 5.96 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
<!DOCTYPE html>
<html lang="fr" class="theme-dark">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Commencer l'aventure | EDD Game</title>
<link rel="stylesheet" type="text/css" href="externalLib/bulma.css">
<link rel="stylesheet" type="text/css" href="gameLib/style.css">
<script src="gameLib/game.js"></script>
</head>
<body>
<style>
.error-msg-stop {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background-color: rgba(128, 48, 1, 0.527);
font-size: 4em;
text-align: center;
display: flex;
justify-content: center;
align-items: center;
}
</style>
<div class="is-hidden error-msg-stop">
<p>
Bulma CSS (et autres) n'est pas supporté...
Vérifiez votre connexion internet.
</p>
</div>
<div class="content" id="pregame-interface">
<h1>Bienvenue sur le compagnon EDD Game !</h1>
<p>Séléctionnez vos joueurs:</p>
<form action="#" method="post" id="player-form">
<div class="field is-info">
<label class="label" for="player1">Joueur 1:</label>
<div class="control select">
<select id="player1" name="player1">
<option value="none">-Vide-</option>
<option value="90">Toutie</option>
<option value="91">Doudou Noisette</option>
<option value="92">Doudou Âne</option>
<option value="93">Peupeuvre</option>
<option value="94">Efélant</option>
</select>
</div>
</div>
<div class="field is-primary">
<label class="label" for="player2">Joueur 2:</label>
<div class="control select">
<select id="player2" name="player2">
<option value="none">-Vide-</option>
<option value="90" disabled>Toutie</option>
<option value="91" disabled>Doudou Noisette</option>
<option value="92" disabled>Doudou Âne</option>
<option value="93" disabled>Peupeuvre</option>
<option value="94" disabled>Efélant</option>
</select>
</div>
</div>
<div class="field is-success">
<label class="label" for="player3">Joueur 3:</label>
<div class="control select">
<select id="player3" name="player3">
<option value="none">-Vide-</option>
<option value="90" disabled>Toutie</option>
<option value="91" disabled>Doudou Noisette</option>
<option value="92" disabled>Doudou Âne</option>
<option value="93" disabled>Peupeuvre</option>
<option value="94" disabled>Efélant</option>
</select>
</div>
</div>
<div class="field is-warning">
<label class="label" for="player4">Joueur 4:</label>
<div class="control select">
<select id="player4" name="player4">
<option value="none">-Vide-</option>
<option value="90" disabled>Toutie</option>
<option value="91" disabled>Doudou Noisette</option>
<option value="92" disabled>Doudou Âne</option>
<option value="93" disabled>Peupeuvre</option>
<option value="94" disabled>Efélant</option>
</select>
</div>
</div>
<div class="field is-danger">
<label class="label" for="player5">Joueur 5:</label>
<div class="control select">
<select id="player5" name="player5">
<option value="none">-Vide-</option>
<option value="90" disabled>Toutie</option>
<option value="91" disabled>Doudou Noisette</option>
<option value="92" disabled>Doudou Âne</option>
<option value="93" disabled>Peupeuvre</option>
<option value="94" disabled>Efélant</option>
</select>
</div>
</div>
<div class="field is-grouped">
<div class="control">
<button class="button is-primary">Jouer !</button>
</div>
</div>
</form>
</div>
<div class="content is-hidden" id="ingame-interface">
<div class="field is-grouped">
<div class="control">
<div class="control select">
<select id="current-room" name="current-room">
<option value="0">Salle du trône</option>
<option value="1">Chambre de Doudou Noisette</option>
<option value="2">Chambre de Doudou Âne</option>
<option value="3">Chambre de Peupeuvre</option>
<option value="4">Chambre de Efélant</option>
</select>
</div>
</div>
</div>
<canvas id="room-canvas"></canvas>
<div class="field is-grouped">
<div class="control">
<button class="button is-info">Utiliser</button>
</div>
<div class="control">
<button class="button is-primary">Parler</button>
</div>
</div>
</div>
</body>
</html>