-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
156 lines (123 loc) · 6.94 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
146
147
148
149
150
151
152
153
154
155
156
<!doctype html>
<html lang="fr">
<head>
<meta charset="utf-8">
<title>Monolith Arena</title>
<link rel="stylesheet" href="style.css">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<link href="https://fonts.googleapis.com/css2?family=Playfair+Display:ital@1&display=swap" rel="stylesheet">
<link rel="icon" type="image/x-icon" href="image/favicon.ico">
</head>
<body id="body">
<img src="https://monolitharena.com/wp-content/uploads/2018/09/logo_ma_poziom.png" id="title">
<div id="board" class="container text-center mt-3 mb-3">
<a id="start">Rentrer dans l'arène</a>
<div id="chooseboard" style="display: none">
<h2>Choisis ton champion :</h2>
<div class="row" style="min-height: 300px;">
<div class="col-2 align-self-center">
<i class="fa-solid fa-circle-arrow-left fa-2xl" id="left"></i>
</div>
<div class="col-8 align-self-center">
<img src = "https://images.squarespace-cdn.com/content/v1/5b29c2dec258b4b6c5403167/1613452369548-DPF8PZPYJMHQIZOI7BX4/paladin_animated.gif" id="imgcharacter">
</div>
<div class="col-2 align-self-center">
<i class="fa-solid fa-circle-arrow-right fa-2xl" id="right"></i>
</div>
</div>
<br>
<p style="display: inline-block;">Nom : <span id="name">Grace</span></p>
<p style="display: inline-block;">Type : <span id="type">Fighter</span></p><br>
<p style="display: inline-block;">HP : <span id="hp">12</span></p>
<p style="display: inline-block;">Dégats : <span id="damage">4</span></p>
<p style="display: inline-block;">Mana : <span id="mana">40</span></p>
<p>Attaque spéciale : <br><span id="special">Dark Vision : inflige 5 dégâts. Jusqu'au prochain tour, chaque coup reçu sera réduit de 2. Coût 20 mana</span></p>
<br>
<a id="choosecharacter">Commencer la Partie</a>
</div>
</div>
<div id="stop">
<div id="event" style="display: none;" class="container">
<h3 class="mb-4 text-center">Il reste <span id="round"></span> tours de jeu</h3>
<div class="row container">
<div class="col-6">
<h3>Mon Champion : <span id="mychampion"></span></h3>
<p>HP : <span id="myhp"></span></p>
<p>Mana : <span id="mymana"></span></p>
<p>Dégats : <span id="mydamage"></span></p>
<p>Attaque spéciale : <span id="myspecial"></span></p>
<a id="actionenemy">Voir les actions de la partie</a>
</div>
<div class="col-6">
<h3>Cible : <span id="mytarget"></span></h3>
<p>HP : <span id="enemyhp"></span></p>
<p>Mana : <span id="enemymana"></span></p>
<p>Dégats : <span id="enemydamage"></span></p>
<p>Attaque spéciale : <span id="enemyspecial"></span></p>
<a id="attackem1">attaque simple</a>
<a id="attackspecialem1">Attaque spéciale</a>
<a id="attackem2">attaque simple</a>
<a id="attackspecialem2">Attaque spéciale</a>
<a id="attackem3">attaque simple</a>
<a id="attackspecialem3">Attaque spéciale</a>
<a id="attackem4">attaque simple</a>
<a id="attackspecialem4">Attaque spéciale</a>
</div>
</div>
</div>
</div>
<div id="boardgame" style="display: none;">
<img src="" id="mycharacter">
<img src="https://static.wixstatic.com/media/340f1d_7740c05cadbb4fa0bffb74c27770de1e~mv2.gif" id="upmana" class="attackeffect">
<img src="https://media1.giphy.com/media/xUA7aO3740serwGGze/giphy.gif?cid=6c09b952mm7d5b9dyemdqm6y3rtz8t036v6xvt6eyviezl1h&rid=giphy.gif&ct=s" id="uplife" class="attackeffect">
<br>
<img src="" id="enemy1" class="enemy">
<img src="image/eruption-sunrise-well-effect-unscreen.gif" id="impact1" class="attackeffect">
<img src="image/a-addon36.gif" id="special1" class="attackeffect">
<img src="" id="enemy2" class="enemy">
<img src="image/eruption-sunrise-well-effect-unscreen.gif" id="impact2" class="attackeffect">
<img src="image/a-addon36.gif" id="special2" class="attackeffect">
<img src="" id="enemy3" class="enemy">
<img src="image/eruption-sunrise-well-effect-unscreen.gif" id="impact3" class="attackeffect">
<img src="image/a-addon36.gif" id="special3" class="attackeffect">
<img src="" id="enemy4" class="enemy">
<img src="image/eruption-sunrise-well-effect-unscreen.gif" id="impact4" class="attackeffect">
<img src="image/a-addon36.gif" id="special4" class="attackeffect">
</div>
<div id="victoryconfetti" style="display:none;">
</div>
<div id="final" style="display: none;" class="container">
<h3 class="mb-4 text-center" id="winner">Vous avez gagné Champion !</h3>
<a id="replay">Rejouer ?</a>
</div>
<div id="darkscreen" style="display: none;">
</div>
<div id="enemyaction" class="container" >
<h2>Voici les actions de la partie :</h1>
<p id="firstaction">Aucune action pour le moment</p>
</div>
<!--
berzerker : https://cdn.dribbble.com/users/1254047/screenshots/4165342/gladiator-flail-ani2.gif
assassin : https://i.pinimg.com/originals/06/71/90/06719022f10299b76f31f933bff80483.gif
paladin : https://i.pinimg.com/originals/55/4f/6e/554f6ea916913c2caab8ec97be82698c.gif
monk : https://media2.giphy.com/media/45dQHUNEdoFFVtWJAE/giphy.gif?cid=6c09b95247c122eba9579ccc11ce5456726405b40cd2cba7&rid=giphy.gif&ct=s
fighter : https://c.tenor.com/jP0qr_Ha7_MAAAAi/darksouls-knight.gif
-->
<script src="script.js"></script>
<script src="game.js"></script>
<script src="turn.js"></script>
<script src="character.js"></script>
<script src="figther.js"></script>
<script src="paladin.js"></script>
<script src="monk.js"></script>
<script src="berzerker.js"></script>
<script src="assassin.js"></script>
<script src="wizard.js"></script>
<script src="grolem.js"></script>
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
<script src="https://kit.fontawesome.com/4923ee3a4a.js" crossorigin="anonymous"></script>
</body>
</html>