-
Notifications
You must be signed in to change notification settings - Fork 3
/
game.html
89 lines (63 loc) · 2.86 KB
/
game.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel = "stylesheet" type = "text/css" href = "css/reset.css" />
<link rel = "stylesheet" type = "text/css" href = "css/style.css" />
<link rel = "stylesheet" type = "text/css" href = "css/game.css" />
<link href="https://fonts.googleapis.com/css?family=Bangers|Karla|VT323&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Orbitron&display=swap" rel="stylesheet">
<title>Space Castaway</title>
<img src="img/background.jpg" alt="space" id="backgroundimage" />
</head>
<body>
<img src="img/background.jpg" alt="space" id="backgroundimage" />
<section id = "backup">
<img src="img/glitch-screen.jpg" />
<img src="img/glitch-screen.jpg" />
<img src="img/glitch-screen.jpg" />
</section>
<header id = "header">
<p><a href = "index.html">Home</a></p>
<p id = "score"></p>
</header>
<main id = "main">
<section id = "modal">
<p>You push off several pieces of debris, and struggle to sit up. As you do, you see your badge. On it is your name and preferred pronouns.</p>
<form id="gameForm">
<label>Name:</label>
<input name = "userName" type = "text">
<label>Pronouns: </label>
<input list = "pronouns" name="pronoun">
<datalist id = "pronouns">
<option value = "he/him"></option>
<option value = "she/her"></option>
<option value = "they/them"></option>
</datalist>
<input type="submit" name="submitButton" value= "submit" />
</form>
</section>
<section id = "inBetween">
<h4 id = "alert">It appears you left while in the middle of the game. Would you like to resume this game, or start over? </h4>
<p id = "stay">Resume the Game</p>
<p id = "go">Start Over</p>
</section>
<section id = "selections">
<h4 id = "prompt"></h4>
<div id = "imagesize"><img id = "heroImage" src = "" /></div>
<p id = "firstOption" height="300px"></p>
<p id = "secondOption" height="300px" ></p>
</section>
<section id = "gameOver">
<h4 id = "finalMessage"></h4>
<p id = "stay"><a href="highScore.html">Go to High Scores</a></p>
<p id = "go"><a href = "index.html">Go to Home Screen</a></p>
</section>
</main>
<footer>
</footer>
<script src = "js/game.js"></script>
</body>
</html>