-
Notifications
You must be signed in to change notification settings - Fork 0
/
questions-2.py
162 lines (134 loc) · 5.11 KB
/
questions-2.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
#!/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):
# nummer 1:
q = Question(
"Super Mario 64",
"/home/michael/rgb2r/soundtracks/super_mario_64_N64/cover.jpg",
"/home/michael/rgb2r/soundtracks/super_mario_64_N64/05 Super Mario 64 Main Theme.mp3",
0.0,
"Main theme",
"/home/michael/rgb2r/soundtracks/super_mario_64_N64/maintheme.jpg",
"leicht")
questions.q.append(q)
q = Question(
"Tony Hawk's Pro Skater 2",
"/home/michael/rgb2r/soundtracks/thps2_PSX/cover.jpg",
"/home/michael/rgb2r/soundtracks/thps2_PSX/12_-_consumed-heavy_metal_winners.mp3",
0.0,
"",
"/home/michael/rgb2r/soundtracks/thps2_PSX/scene.jpg",
"mittel")
questions.q.append(q)
q = Question(
"Mario Kart 64",
"/home/michael/rgb2r/soundtracks/mario_kart_64_N64/cover.png",
"/home/michael/rgb2r/soundtracks/mario_kart_64_N64/Moo Moo Farm.mp3",
0.0,
"Moo Moo Farm",
"/home/michael/rgb2r/soundtracks/mario_kart_64_N64/moomoo.jpg",
"mittel")
questions.q.append(q)
q = Question(
"Perfect Dark",
"/home/michael/rgb2r/soundtracks/perfect_dark_N64/cover.jpg",
"/home/michael/rgb2r/soundtracks/perfect_dark_N64/1-10_-_area_51-infiltration.mp3",
4.0,
"Area 51",
"/home/michael/rgb2r/soundtracks/perfect_dark_N64/area51.jpg",
"schwer")
questions.q.append(q)
q = Question(
"Prince of Persia",
"/home/michael/rgb2r/soundtracks/Prince_of_Persia_DOS/prince.png",
"/home/michael/rgb2r/soundtracks/Prince_of_Persia_DOS/prince.ogg",
0.0,
"",
None,
"leicht")
questions.q.append(q)
q = Question(
"Zelda: Ocarina of Time",
"/home/michael/rgb2r/soundtracks/zelda_ocarina_of_time_N64/cover.png",
"/home/michael/rgb2r/soundtracks/zelda_ocarina_of_time_N64/81 - Ocarina of Time.mp3",
0.0,
"Ocarina of Time",
"/home/michael/rgb2r/soundtracks/zelda_ocarina_of_time_N64/ocarinascene.jpg",
"mittel")
questions.q.append(q)
q = Question(
"Tekken",
"/home/michael/rgb2r/soundtracks/tekken_PSX/cover.png",
"/home/michael/rgb2r/soundtracks/tekken_PSX/05_character_select_bgm.mp3",
0.0,
"Character select",
None,
"schwer")
questions.q.append(q)
q = Question(
"Zelda: Ocarina of Time",
"/home/michael/rgb2r/soundtracks/zelda_ocarina_of_time_N64/cover.png",
"/home/michael/rgb2r/soundtracks/zelda_ocarina_of_time_N64/23 - Hyrule Castle Courtyard.mp3",
0.0,
"Schlossgarten",
"/home/michael/rgb2r/soundtracks/zelda_ocarina_of_time_N64/courtyard.jpg",
"schwer")
questions.q.append(q)
q = Question(
"Tetris",
"/home/michael/rgb2r/soundtracks/tetris_GB/cover.jpg",
"/home/michael/rgb2r/soundtracks/tetris_GB/tetris-gameboy-03.mp3.mp3",
0.0,
"",
None,
"leicht")
questions.q.append(q)
q = Question(
"Day of the Tentacle",
"/home/michael/rgb2r/soundtracks/day_of_the_tentacle_PC/cover.jpg",
"/home/michael/rgb2r/soundtracks/day_of_the_tentacle_PC/01-intro.mp3.mp3",
0.0,
"Einleitung",
None,
"leicht")
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/01_-_choose_your_pipe.mp3",
0.0,
"Choose your pipe",
"/home/michael/rgb2r/soundtracks/super_mario_land_2_GB/choosepipe.png",
"leicht")
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]