-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
61 lines (59 loc) · 2.17 KB
/
Copy pathindex.html
File metadata and controls
61 lines (59 loc) · 2.17 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Simon Game</title>
<meta name="viewport" content="width=device-width,initial-scale=1">
<link rel="stylesheet" href="style.css">
</head>
<body>
<header>
<h1 style = "font-family: 'Courier New', Courier, monospace; font-size: 100px;">Simon Game</h1>
<button>About</button>
</header>
<div class="panel">
<h2>Simon Game</h2>
<hr style="border: 0.5px solid rgba(255,255,255,0.3); margin: 15px 0;">
<p>
The <strong>Simon Game</strong> is a classic memory challenge.
Your goal is to repeat the sequence of colors shown by the game
in the exact order.
</p>
<hr style="border: 0.5px solid rgba(255,255,255,0.3); margin: 15px 0;">
<h3>How to Play:</h3>
<ul>
<li>Press any key to start the game.</li>
<li>Watch carefully as the game highlights a color.</li>
<li>Click on the same color to repeat it.</li>
<li>Each round, the sequence gets longer by one step.</li>
<li>If you press the wrong color, the game ends.</li>
</ul>
<hr style="border: 0.5px solid rgba(255,255,255,0.3); margin: 15px 0;">
<h3>Game Rules:</h3>
<ul>
<li>The sequence always starts with one color.</li>
<li>You must remember and repeat the full sequence each round.</li>
<li>The game speed may increase as your level gets higher.</li>
</ul>
<hr style="border: 0.5px solid rgba(255,255,255,0.3); margin: 15px 0;">
<h3>Tip:</h3>
<p>
Focus and try saying the colors out loud to remember them better.
</p>
<hr style="border: 0.5px solid rgba(255,255,255,0.3); margin: 15px 0;">
<p style="font-size: 0.9rem; opacity: 0.8;">
Built by <b>RUPESH</b> using HTML, CSS, and JavaScript.
</p>
</div>
<h2 class="level" style="font-family:Arial, Helvetica, sans-serif">Press any key to start</h2>
<br>
<br>
<div class="btn_container">
<div class="yellow" type = "button"></div>
<div class="green" type = "button"></div>
<div class="blue" type = "button"></div>
<div class="skyblue" type = "button"></div>
</div>
<script defer src="app.js"></script>
</body>
</html>