-
Notifications
You must be signed in to change notification settings - Fork 0
/
game.php
100 lines (94 loc) · 3.2 KB
/
game.php
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
<?php
require_once("action/GameAction.php");
$action = new GameAction();
$action->execute();
?>
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="css/game.css">
<script src="js/jquery.js"></script>
<script src="js/game.js"></script>
<title>Hockey Battle - GAME</title>
</head>
<body>
<div id="user-prompt"></div>
<template id="quit-prompt">
<div class="prompt-text"></div>
<button class="prompt-quit">Quit</button>
</template>
<div id="container">
<div id="opponent">
<div id="op-hand">
<div class="hand" id="op-hand1"></div>
<div class="hand" id="op-hand2"></div>
<div class="hand" id="op-hand3"></div>
<div class="hand" id="op-hand4"></div>
<div class="hand" id="op-hand5"></div>
<div class="hand" id="op-hand6"></div>
<div class="hand" id="op-hand7"></div>
</div>
<div id="op-infos">
<div id="op-hp">
<p id="op-hp-val"></p>
</div>
<div id="op-class">
<div id="op-name" class="bos"></div>
</div>
<div id="op-mp">
<p id="op-mp-val"></p>
</div>
</div>
<div id="op-cards-left">
<div class="hand">
<div id="op-cards-left-val" class="bos"></div>
</div>
</div>
</div>
<div id="arena">
<div id="welcomeText">
<div id="wtOp" class="wt bos"></div>
<div id="wtSelf" class="wt mtl"></div>
</div>
<div id="board">
<div id="op-cards"></div>
<div id="self-cards"></div>
<template id="card-template">
<div class="player">
<div class="player-mp">
<p class="mp-text"></p>
</div>
<div class="player-desc"></div>
<div class="player-atk"></div>
<div class="player-hp">
<p class="hp-text"></p>
</div>
</div>
</template>
</div>
</div>
<div id="self">
<div id="self-infos">
<div id="self-hp">
<p id="hp"></p>
</div>
<div id="self-mp">
<p id="mp"></p>
</div>
<div id="self-cards-left">
<div id="cards-left" class="mtl"></div>
</div>
</div>
<div id="self-deck"></div>
<div id="game-infos">
<button id="hero-power">Hero power</button>
<button id="end-turn">End turn</button>
<div id="time" class="scoreboard"></div>
</div>
</div>
</div>
</body>
</html>