-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
112 lines (102 loc) · 3.78 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Pokémania!</title>
<link rel="icon" type="image/png" href="assets/img/favicon.png">
<link rel="stylesheet" href="assets/reset.css" />
<link rel="stylesheet" href="assets/pokemania.css" />
</head>
<body>
<canvas id="game-canvas" class="hidden" width="800" height="600"></canvas>
<div id="start-screen">
<img src="assets/img/pokemania.png" class="pokemania-logo"/>
<h1>A multiplayer quest to find the world's strongest Pokémon</h1>
<div class="welcome">
<div class="start-form">
<label for="name-input">First, what is your name?</label>
<br />
<input type="text" id="name-input" placeholder="Misty"/>
<br />
<div class="button" id="select-pokemon-button">
<img src="assets/img/pokeball.png" />
Choose Pokémon!
</div>
<div class="button" id="instructions-button">
<img src="assets/img/pokeball.png" />
Instructions
</div>
</div>
<img src="assets/img/eevee.png" class="eevee"/>
</div>
</div>
<div id="restart-screen" class="hidden">
<h1>You were defeated :(</h1>
<img class="sad-charmander" src="https://68.media.tumblr.com/610d1aa42992fbb36fc677f9cda9c1a1/tumblr_o4gdnsilpq1taibz9o1_500.gif" />
<div class="button restart-button">
<img src="assets/img/pokeball.png"/>
Visit Pokémon Center and Try Again!
</div>
<div class="button main-menu-button">
<img src="assets/img/pokeball.png"/>
Back to Main Menu
</div>
</div>
<div id="inactive-screen" class="hidden">
<h1>You were inactive for too long!</h1>
<img class="sleeping-charizard" src="https://49.media.tumblr.com/cae4605620526adee3e0de2e9212439f/tumblr_mavv6y37hM1r72ht7o1_r1_500.gif" />
<div class="button restart-button">
<img src="assets/img/pokeball.png"/>
Use an Awakening and Try Again!
</div>
<div class="button main-menu-button">
<img src="assets/img/pokeball.png"/>
Back to Main Menu
</div>
</div>
<div id="instructions" class="hidden">
<div id="instructions-body">
<h1>Pokémania Instructions</h1>
<ul class="instructions-list">
<li>Grow bigger and evolve by running into smaller Pokémon</li>
<li>Use arrow keys to move around</li>
<li>Press the space bar to use dire hit and defeat larger Pokémon</li>
<li>Be careful, dire hit takes time to take effect</li>
<li>Pokémania is multiplayer - try it by playing in two windows!</li>
</ul>
<a href="https://github.com/flaurida/pokemania" target="_blank">
See Source Code
</a>
</div>
</div>
<div id="select-pokemon" class="hidden">
<div id="select-pokemon-body">
<h1>Choose your Pokémon!</h1>
<h2 id="select-loading">Loading...</h2>
<ul id="pokemon-list"></ul>
<div class="button" id="start-button">
<img src="assets/img/pokeball.png" />
Start Training!
</div>
</div>
</div>
<div class="notes-container">
<div id="instructions-reminder">
<p>Arrow Keys to Move | Space to Activate Dire Hit</p>
</div>
<div class="links-container">
<a href="https://github.com/flaurida/pokemania" target="_blank">
Github
</a>
<a href="https://www.linkedin.com/in/laura-cressman/" target="_blank">
LinkedIn
</a>
<a href="http://www.lauracressman.com" target="_blank">
Laura
</a>
</div>
</div>
<script src="./socket.io/socket.io.js"></script>
<script src="./client/bundle.js" charset="utf-8"></script>
</body>
</html>