-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
97 lines (91 loc) · 2.71 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
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<title>WebPet v1.3</title>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>WebPet v1.3</title>
<link href="https://fonts.googleapis.com/css2?family=DM+Mono:wght@300;500&display=swap" rel="stylesheet">
<link rel="stylesheet" href="style.css">
</head>
<body>
<!-- Main Menu Screen -->
<div class="main-menu-screen">
<div class="menu">
<h1>WebPet v1.3</h1>
<h3>Welcome to your new WebPet!</h3>
<div class="menu-buttons">
<a href="#" id="action-menu-start-game">Start</a>
<a href="#" id="action-menu-settings">Settings</a>
</div>
</div>
</div>
<!-- Settings Screen -->
<div class="menu-screen-settings">
<div class="settings">
<h2>Settings</h2>
<div class="settings-buttons">
<h3>
Difficulty: <span id="difSet">Normal</span>
</h3>
<a href="#" id="action-settings-difficulty-hard">Hard</a>
<a href="#" id="action-settings-difficulty-normal">Normal</a>
<a href="#" id="action-settings-difficulty-easy">Easy</a>
<br>
<h3>
Night mode: <span id="nightmode">off</span>
</h3>
<a href="#" id="nightmode-on">On</a>
<a href="#" id="nightmode-off">Off</a>
<br>
<a href="#" id="action-settings-back">Back</a>
</div>
</div>
</div>
<!-- Game Screen -->
<div class="game-screen">
<div class="webpet">
<div class="hp">
<p>
Sleep: <span id="sleep-hp"></span>%
</p>
<p>
Hunger: <span id="hunger-hp"></span>%
</p>
<p>
Play: <span id="play-hp"></span>%
</p>
<br>
<p id="score-bar">
Score: <span id="score"></span>
</p>
</div>
<p>
<span id="name"></span>
</p>
<p id="t-body">
<span id="effect-left">°˖✧</span>
<span id="hand-left">◝</span>
(<span id="eye-left">^</span>
<span id="mouth">▿</span>
<span id="eye-right">^</span>
)<span id="hand-right">◜</span>
<span id="effect-right">✧˖°</span>
</p>
<div class="buttons">
<a href="#" id="action-sleep">Sleep</a>
<a href="#" id="action-feed">Feed</a>
<a href="#" id="action-play">Play</a>
<a href="#" id="action-save">Save</a>
<a href="#" id="action-load">Load</a>
<a href="#" id="action-randomize">Randomize</a>
</div>
</div>
</div>
<!-- Notification -->
<div id="notification" class="notification"></div>
<script src="script.js"></script>
</body>
</html>