-
Notifications
You must be signed in to change notification settings - Fork 0
/
questions-1.py
175 lines (151 loc) · 5.21 KB
/
questions-1.py
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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
#!/usr/bin/env python
# -*- coding:utf-8 -*-
# vim:ts=4:sw=4:expandtab
from question import *
class questions:
q = []
cur = -1
@classmethod
def init(cls):
q = Question(
"Pokemon",
"/home/michael/rgb2r/soundtracks/pokemon_GB/cover.jpg",
"/home/michael/rgb2r/soundtracks/pokemon_GB/101_-_opening.mp3",
0.0,
"Opening",
None,
"leicht")
questions.q.append(q)
q = Question(
"Sonic",
"/home/michael/rgb2r/soundtracks/sonic/cover.jpg",
"/home/michael/rgb2r/soundtracks/sonic/02_emerald_hill_zone.mp3.mp3",
0.0,
"Emerald Hill Zone",
None,
"leicht")
questions.q.append(q)
q = Question(
"F-Zero X",
"/home/michael/rgb2r/soundtracks/f_zero_x_N64/cover.jpg",
"/home/michael/rgb2r/soundtracks/f_zero_x_N64/01_endless_challenge.mp3",
0.0,
"Endless Challenge",
None,
"leicht")
questions.q.append(q)
q = Question(
"Earthworm Jim",
"/home/michael/rgb2r/soundtracks/earthworm_jim_SNES/cover.jpg",
"/home/michael/rgb2r/soundtracks/earthworm_jim_SNES/mike_miller_-_earthworm_jim_(snes)_-_01_-_new_junk_city.mp3",
0.0,
"New Junk City",
None,
"mittel")
questions.q.append(q)
q = Question(
"Super Mario Land 2",
"/home/michael/rgb2r/soundtracks/super_mario_land_2_GB/cover.jpg",
"/home/michael/rgb2r/soundtracks/super_mario_land_2_GB/tokata.mp3",
0.0,
"Tokata's Song",
None,
"schwer")
questions.q.append(q)
q = Question(
"Tetris",
"/home/michael/rgb2r/soundtracks/tetris_GB/cover.jpg",
"/home/michael/rgb2r/soundtracks/tetris_GB/tetris-gameboy-04.mp3.mp3",
0.0,
"",
None,
"leicht")
questions.q.append(q)
q = Question(
"Rayman",
"/home/michael/rgb2r/soundtracks/rayman_PSX/cover.jpg",
"/home/michael/rgb2r/soundtracks/rayman_PSX/04_rocketfly.mp3",
0.0,
"Rocketfly",
None,
"schwer")
questions.q.append(q)
q = Question(
"Crash Bandicoot",
"/home/michael/rgb2r/soundtracks/crash_bandicoot_PSX/cover.png",
"/home/michael/rgb2r/soundtracks/crash_bandicoot_PSX/09_-_jungle_rollers,_rolling_stones.mp3",
0.0,
"Jungle Rollers, Rolling Stones",
None,
"schwer")
questions.q.append(q)
q = Question(
"Jet Force Gemini",
"/home/michael/rgb2r/soundtracks/jet_force_gemini_N64/cover.jpg",
"/home/michael/rgb2r/soundtracks/jet_force_gemini_N64/08_ss_anubis.mp3",
0.0,
"SS Anubis",
None,
"schwer")
questions.q.append(q)
q = Question(
"Zelda: Links awakening",
"/home/michael/rgb2r/soundtracks/zelda_links_awakening_GB/cover.jpg",
"/home/michael/rgb2r/soundtracks/zelda_links_awakening_GB/01_-_title_theme.mp3",
0.0,
"Title theme",
None,
"leicht")
questions.q.append(q)
q = Question(
"Megaman",
"/home/michael/rgb2r/soundtracks/mega_man_1_GB/cover.jpg",
"/home/michael/rgb2r/soundtracks/mega_man_1_GB/02_-_guts_man.mp3",
0.0,
"Guts Man",
None,
"mittel")
questions.q.append(q)
q = Question(
"Mortal Kombat",
"/home/michael/rgb2r/soundtracks/mortal_kombat/cover.jpg",
"/home/michael/rgb2r/soundtracks/mortal_kombat/01.mp3",
0.0,
"",
None,
"schwer")
questions.q.append(q)
q = Question(
"Kirby's Dreamland",
"/home/michael/rgb2r/soundtracks/kirbys_dreamland_GB/cover.jpg",
"/home/michael/rgb2r/soundtracks/kirbys_dreamland_GB/01-bubbley_clouds.mp3",
0.0,
"Bubbley Clouds",
None,
"mittel")
questions.q.append(q)
q = Question(
"Yoshi's Story",
"/home/michael/rgb2r/soundtracks/yoshis_story_N64/cover.jpg",
"/home/michael/rgb2r/soundtracks/yoshis_story_N64/27_happy_together.mp3.mp3",
0.0,
"Happy together",
"/home/michael/rgb2r/soundtracks/yoshis_story_N64/happy.jpg",
"schwer")
questions.q.append(q)
q = Question(
"Sonic",
"/home/michael/rgb2r/soundtracks/sonic/cover.jpg",
"/home/michael/rgb2r/soundtracks/sonic/15_ending_1.mp3.mp3",
0.0,
"Spielende",
None,
"schwer")
questions.q.append(q)
@classmethod
def next_question(cls, screen):
questions.cur += 1
if questions.cur >= len(questions.q):
# We are done. Return the final points view
return None
return questions.q[questions.cur]