-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
95 lines (87 loc) · 3.15 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
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="./style.css" />
<script src="./index.js" type="module"></script>
<title>Poupounella</title>
</head>
<body>
<!-- //start screen -->
<div id="introContainer" class="visible">
<div id="introScreen">
<div class="imageContainer"></div>
<h1>Poupounella</h1>
<div class="articleContainer">
<article class="articleIntro">
Join Poupounella, a determined ballerina, on her quest to reach
Galala, the grandest ballet of the year.
</article>
<article class="articleIntro">
Help her collect Cloudollars and overcome monsters along the way.
Will you fulfill Poupounella's dream?
</article>
<article class="articleIntro">
Embark on this enchanting adventure now!
</article>
<div class="containerBtn">
<button id="btnStart" class="btn">Start Game</button>
<button id="btnRules" class="btn">Read rules</button>
</div>
</div>
<div class="imageContainer"></div>
</div>
</div>
<!-- //rules screen -->
<div id="rulesScreen" class="hidden">
<h2>How can you play with Poupounella ?</h2>
<hr />
<div class="articleContainer">
<div>
<h3 class="faq-page">Launch the Game:</h3>
<article class="faq-body">
the "Start" button to begin playing this masterpiece. The more
points you collect, the higher your score will be.
</article>
</div>
<div>
<h3 class="faq-page">Control Poupounella:</h3>
<article class="faq-body">
Use the arrow keys (up, down, left, and right) on your keyboard to
move Poupounella in four directions: up, down, left, and right.
Navigate Poupounella through the game area to collect points.
</article>
</div>
<div>
<h3 class="faq-page">Engage in Combat:</h3>
<article class="faq-body">
The spacebar on your keyboard to attack enemies. Time your attacks
correctly to make the enemies disappear.
</article>
<h3 class="faq-page">Avoid Enemies:</h3>
<article class="faq-body">
Avoid colliding with enemies, as they can hinder Poupounella's
progress.
</article>
</div>
<div>
<h3 class="faq-page">Score Points:</h3>
<article class="faq-body">
Collect as many points as possible to increase your score.
</article>
</div>
<div id="btnBack" class="btn">Back</div>
</div>
</div>
<!-- //game screen -->
<div id="gameScreen" class="hidden">
<h1 id="myCounter">Your score</h1>
<div id="scoreContainer">
<img src="assets/80368956019f6ab.png" id="cloudDollars"></img>
<span>0</span>
</div>
<div id="gameArea"></div>
</div>
</body>
</html>