-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
112 lines (94 loc) · 3.06 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
<head>
<title>The Otifyspay Game</title>
<meta charset="UTF-8">
<link href='https://fonts.googleapis.com/css?family=Press+Start+2P' rel='stylesheet' type='text/css'>
</head>
<body>
<audio autoplay loop id="currentTrack">
<source type="audio/mpeg" src="">
</audio>
<div class='container'>
<div class='sidebar'>
<h1 class='title'>The Otifyspay Game</h1>
<h2 class='subtitle'>Explore & Race Through Spotify Artists</h2>
<p class='rules'>
Make your way to a random target artist by selecting from the artists related to the current artist.<br><br> Level 1 <br> Navigate between artists of the same genre. <br> <br> Level 2 <br> Navigate between artists of similar genres. <br><br> Level 3 <br> Navigate between completely random artists.
</p>
<!-- <h2>{{> currentplayer}}</h2>
{{> addPlayerForm}}
<h3><strong>Select your name before starting a game to save your scores</strong></h3>
<h2 id='winnerboardText'>Winnerboard</h2>
<div class='winnerboard'>
{{ > winnerboard}}
</div> -->
<footer>
<h3>Built With</h3>
<h4>Meteor JS</h4>
<h4>The Spotify API</h4>
<h4>The EchoNest API</h4>
</footer>
</div>
<div class='main'>
{{> hello}}
</div>
</div>
</body>
<template name='currentplayer'>
{{#if showSelectedPlayer}}
Current Player: {{showSelectedPlayer.name}}
{{/if}}
</template>
<template name='hello'>
<div class='levels'>
<h2 class='start start1'>Level 1 <small>Same Genre</small></h2>
<h2 class='start start2'>Level 2 <small>Similar Genres</small></h2>
<h2 class='start start3'>Level 3 <small>Completely<br> Random</small></h2>
</div>
<h1 class='flashWin'>
You Win!
</h1>
<div class='hideinterface interface'>
<div class='artistContainer'>
<div class='currentArtistContainer'>
<h2 id='currentArtist'>Current Artist<br> <span id='currentArtistName'></span><br><br> Now Playing <span id='songTitle'></span> </h2>
<img id='currentArtistImage' alt='No image. sorry.'>
</div>
<div class='targetArtistContainer'>
<h2 id='targetArtist'>Target Artist<br> <span></span></h2>
<img id='targetArtistImage' alt='No image. sorry.'>
</div>
</div>
<div class='genreContainer'>
<h2 id='genre1'>Starting Genre<br> <span></span></h2>
<h2 id='genre2'>Target Genre<br> <span></span></h2>
</div>
</div>
<div class='listContainer'>
<ul class='artists'></ul>
</div>
</template>
<template name='winnerboard'>
<table>
<tr>
<th>Name</th>
<th>Level 1</th>
<th>Level 2</th>
<th>Level 3</th>
</tr>
{{#each player}}
<tr class='player {{selectedClass}}'>
<td id='name'>{{name}}</td>
<td>{{level1}}</td>
<td>{{level2}}</td>
<td>{{level3}}</td>
</tr>
{{/each}}
</table>
<input type="button" class="remove" value="Remove Player">
</template>
<template name="addPlayerForm">
<form>
<input type="text" name="playerName">
<input type="submit" value="Add Player">
</form>
</template>