-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
91 lines (80 loc) · 3.88 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" content="initial-scale=1.0">
<title>Circle Number Game</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css"
integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
<link rel="stylesheet" href="css/styles.css">
</head>
<Body>
<nav class="navbar text-center">
<div class="col-1">
<h1 id='time'>Timer:</h1>
<p id='timer'>30</p>
</div>
<div class="4">
</div>
<div class="col-2"></div>
<div class="col-4">
<h2 class="logo">Circle Number Game</h2>
</div>
<div class="col-2"></div>
<div class="col-2 d-flex justify-content-around">
<button type="button" class="menu_btn" data-toggle="modal" data-target="#instructions">Instructions</button>
<button type="button" class="menu_btn" id='start' onclick="startGame();">start</button>
</div>
</nav>
<div class="container-fluid">
<div class="row">
<div class='col-12 text-center' id='game'>
<br>
<p class='message' id='message'>Click Start to begin the game!</p>
<h1>Game Zone: Level 1</h1>
<br><br><br><br>
</div>
</div>
<div class="modal fade" tabindex="-1" role="dialog" id="instructions">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title">Instructions</h4>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<h1 id='list'>Rules for Level 1:</h1>
<ul>
<li id='L.1'>You have 30 seconds.</li>
<li id='L.2'>Click on the start button to begin.</li>
<li id='L.3'>There are 10 circles with a number 1 to 10 hidden underneath.</li>
<li id='L.4'>Click the correct circles in order from 1 to 10</li>
<li id='L.5'>A circle will turn blue and display its number when you have the right
circle.</li>
<li id='L.6'>A circle will display red when you click the wrong one and keep its number
hidden.</li>
<li id='L.7'>You do not have to start over after clicking the wrong one.</li>
<li id='L.8'>Each level will get progressively harder.</li>
</ul> <br><br><br>
<h2>Good luck!</h2>
</div>
<div class="modal-footer">
<button type="button" class="menu_btn" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
</div>
</Body>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js"
integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous">
</script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js"
integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6" crossorigin="anonymous">
</script>
<script src="js/game.js"></script>
<!-- <script src="js/circle.js"></script> -->
<script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script>
</html>