This repository was archived by the owner on Nov 19, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathOpeningPage.html
More file actions
112 lines (112 loc) · 3.55 KB
/
Copy pathOpeningPage.html
File metadata and controls
112 lines (112 loc) · 3.55 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
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
<!DOCTYPE html>
<html>
<head>
<script>
function nextPage () {
window.location.assign("AboutTheCreators.html");
}
function nextGame () {
window.location.assign("game.html");
}
</script>
<style>
h1 {
font-size: 50px;
font-family: Verdana;
position: relative;
background-color: rgb(150, 100, 300);
color: white;
}
.square {
width: 100px;
height: 100px;
display: inline-block;
border-radius: 10px;
}
#yellow, #red, #blue, #blank {
border: 1px solid black;
}
#yellow {
background-color: yellow;
}
#red {
background-color: red;
}
#blue {
background-color: blue;
}
#blank {
background-color: white;
}
.howtoplay {
font-family: Verdana;
font-size: 20px;
}
button {
font-size: 25px;
border-color: white;
float: left;
border-width: 1px;
border-top: none;
border-bottom: none;
cursor: pointer;
border-radius: 3px;
}
.buttongroup button:hover {
background-color: rgb(200, 100, 300);
}
.closing {
background-color: rgb(20, 200, 300);
}
</style>
</head>
<body>
<h1>Color Clicker</h1>
<h3>By: Tim Zou, Alvyn Wang, Jeremy Chiu</h3>
<div class="square" id="yellow">
</div>
<div class="square" id="blank">
</div>
<div class="square" id="blue">
</div>
<br>
<div class="square" id="red">
</div>
<div class="square" id="yellow">
</div>
<div class="square" id="blank">
</div>
<br>
<div class="square" id="blue">
</div>
<div class="square" id="blank">
</div>
<div class="square" id="red">
</div>
<div class="howtoplay">
<h2>How to Play</h2>
<ul>
<li>The goal of the game is to survive as long as possible</li>
<li>The timer at the top of the screen will be the amount of seconds you have left</li>
<li>There are a total of 3 colors of blocks: red, yellow, and blue</li>
<li>Red subtracts 10 seconds from your playing time, yellow subtract 3 seconds, and blue adds 10 seconds</li>
<li>Click the blocks to make them disappear</li>
<li>These blocks will randomely pop up every couple of seconds</li>
<li>The blocks disappear after a while, so make sure to be fast</li>
<li>As time goes on, the game will slowly become harder</li>
</ul>
</div>
<div class="buttongroup">
<button onclick="nextGame()">Play Game</button>
<button onclick="nextPage()">About the Creators</button>
</div>
<br>
<div class="closing">
<h4>For More Info: </h4>
<p>... ... ... ... ... ...</p>
<p>... ... ... ... ... ...</p>
<p>... ... ... ... ... ...</p>
<p>There's no more info</p>
</div>
</body>
</html>