-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
64 lines (58 loc) · 2.27 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
<!DOCTYPE html>
<html lang="en">
<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 href="https://fonts.googleapis.com/css?family=Raleway" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Oswald" rel="stylesheet">
<link rel="stylesheet" href="css/style.css">
<title>RPG1</title>
</head>
<body>
<header id="head">
<h1>RPG 1</h1>
<form action="#" method="POST">
<input id="name" type="text" placeholder="What is your name?">
<input type="submit" value="Submit" id="buttonSubmit" class="submitName">
</form>
<h2>Rules</h2>
<section class="rulesSection">
<p id="rules">This is a turned based game. At the begining of your turn you can attack the ennemy (by clicking on it's case) or move (1 case = 1 movement point).<br/>To attack an ennemy you have to be in one of the adjacent ennemy's case
<br/> At the begining of each turn you gain 1 attack point and 2 movement points. </p>
</section>
</header>
<main>
<section class="game">
<h2 id="result"></h2>
<div class="map"></div>
<div class="personnage persohidden"></div>
<div class="persoennemy persohidden"></div>
<input type="button" value="End turn" id="end">
</section>
<section class="infos">
<div class="player">
<p class="nom"></p>
<div class="playerHealth"></div>
<div class="txt">
<p id="pm"></p>
<p id="attackPoints"></p>
<p id="health"></p>
</div>
</div>
<div class="ennemy">
<p class="nomEnnemy"></p>
<div class="healthcontain">
<div class="ennemyHealth"></div>
</div>
<div class="txt" id="entxt">
<p id="ennemypm"></p>
<p id="ennemyAttackPoints"></p>
<p id="ennemyhealth"></p>
</div>
</div>
</section>
</main>
<script src="js/main.js"></script>
</body>
</html>