Trivia system and 2 lists of questions

!trivia
This commit is contained in:
Twentysix 2016-01-11 18:58:35 +01:00
parent 8cd50a1cbb
commit a3482f939a
5 changed files with 662 additions and 67 deletions

View File

@ -2,8 +2,8 @@ import json
import logging import logging
default_settings = ('{"TRIVIA_ADMIN_ONLY": false, "EDIT_CC_ADMIN_ONLY": false, "PASSWORD": "PASSWORDHERE", "FILTER": true, "CUSTOMCOMMANDS": true, ' + default_settings = ('{"TRIVIA_ADMIN_ONLY": false, "EDIT_CC_ADMIN_ONLY": false, "PASSWORD": "PASSWORDHERE", "FILTER": true, "CUSTOMCOMMANDS": true, ' +
'"TRIVIAMAXSCORE": 10, "TRIVIADELAY": 15, "LOGGING": true, "EMAIL": "EMAILHERE", "ADMINROLE": "Transistor", "DOWNLOADMODE" : true, ' + '"TRIVIA_MAX_SCORE": 10, "TRIVIA_DELAY": 15, "LOGGING": true, "EMAIL": "EMAILHERE", "ADMINROLE": "Transistor", "DOWNLOADMODE" : true, ' +
'"VOLUME": 0.20}') '"VOLUME": 0.20, "TRIVIA_BOT_PLAYS" : false, "TRIVIA_TIMEOUT" : 120}')
logger = logging.getLogger("__main__") logger = logging.getLogger("__main__")

228
red.py
View File

@ -49,6 +49,7 @@ help = """**Commands list:**
!audio help - Audio related commands !audio help - Audio related commands
!economy - Economy explanation, if available !economy - Economy explanation, if available
!trivia - Trivia commands and lists
""" """
youtube_dl_options = { youtube_dl_options = {
@ -118,6 +119,14 @@ admin_help = """
!cleanup [name/mention] [number] - Delete the last [number] of messages by [name] !cleanup [name/mention] [number] - Delete the last [number] of messages by [name]
""" """
trivia_help = """
**Trivia commands:**
!trivia - Trivia questions lists and help
!trivia [name] - Starts trivia session with specified list
!trivia random - Starts trivia session with random list
!trivia stop - Stop trivia session
"""
client = discord.Client() client = discord.Client()
if not discord.opus.is_loaded(): if not discord.opus.is_loaded():
@ -125,6 +134,7 @@ if not discord.opus.is_loaded():
@client.async_event @client.async_event
async def on_message(message): async def on_message(message):
global trivia_sessions
await gameSwitcher.changeGame() await gameSwitcher.changeGame()
@ -238,24 +248,24 @@ async def on_message(message):
elif message.content == "!downloadmode": elif message.content == "!downloadmode":
await downloadMode(message) await downloadMode(message)
################################################ ################################################
elif message.content == "!trivia start": elif message.content == "!trivia":
await triviaList(message)
elif message.content.startswith("!trivia"):
if checkAuth("Trivia", message, settings): if checkAuth("Trivia", message, settings):
if not getTriviabyChannel(message.channel): if message.content == "!trivia stop":
#th = threading.Thread(target=controlTrivia, args=[message, True]) if getTriviabyChannel(message.channel):
#th.start() await getTriviabyChannel(message.channel).endGame()
#await controlTrivia(message, True) await client.send_message(message.channel, "`Trivia stopped.`")
await client.send_message(message.channel, "`Trivia is currently out of service. Sorry.`") else:
await client.send_message(message.channel, "`There's no trivia session ongoing in this channel.`")
elif not getTriviabyChannel(message.channel):
t = Trivia(message)
trivia_sessions.append(t)
await t.loadQuestions(message.content)
else: else:
await client.send_message(message.channel, "`A trivia session is already ongoing in this channel.`") await client.send_message(message.channel, "`A trivia session is already ongoing in this channel.`")
else: else:
await client.send_message(message.channel, "`Trivia is currently admin-only.`") await client.send_message(message.channel, "`Trivia is currently admin-only.`")
elif message.content == "!trivia stop":
if checkAuth("Trivia", message, settings):
await controlTrivia(message, False)
else:
await client.send_message(message.channel, "`Trivia is currently admin-only.`")
elif message.content == "!trivia":
pass
######## Admin commands ####################### ######## Admin commands #######################
elif message.content.startswith('!addwords'): elif message.content.startswith('!addwords'):
await addBadWords(message) await addBadWords(message)
@ -336,57 +346,113 @@ def loggerSetup():
class Trivia(): class Trivia():
def __init__(self, message): def __init__(self, message):
self.gaveAnswer = ["I know this one! {}!", "Easy: {}.", "Oh really? It's {} of course."]
self.currentQ = None # {"QUESTION" : "String", "ANSWERS" : []}
self.questionList = ""
self.channel = message.channel self.channel = message.channel
self.stop = False
self.currentQ = ""
self.currentA = ""
self.scorelist = {}
self.Atimestamp = 99 #var initialization
self.answered = False
self.noAnswers = ["`No one got it. Disappointing.`", "`Oook... Next one...`", "`Maybe next time I'll tell you the solution.`",
"`*sighs*`", "`I have no words. Next one...`", "`Come on, that one was easy.`", "`That was one of the easiest ones.`",
"`I knew the answer.`", "`Is the game almost over? I have places to be.`", "`I'm on the verge of tears...`", "`:'(`", "`Really? No one?`", "`Crazy.`",
"`I expected nothing and I'm still disappointed.`", "`*facepalm*`"]
logger.info("Trivia started in channel " + self.channel.id) logger.info("Trivia started in channel " + self.channel.id)
self.scoreList = {}
self.status = None
self.timer = None
self.count = 0
async def game(self): async def loadQuestions(self, msg):
global trivia_sessions msg = msg.split(" ")
while not self.stop: if len(msg) == 2:
self.answered = False _, qlist = msg
self.currentQ, self.currentA = self.getTriviaQuestion() # [question, answer] if qlist == "random":
logger.debug(self.currentA) chosenList = choice(glob.glob("trivia/*.txt"))
await client.send_message(self.channel, "`" + self.currentQ + "`") self.questionList = self.loadList(chosenList)
time.sleep(settings["TRIVIADELAY"]) self.status = "new question"
await self.checkScore() self.timeout = time.perf_counter()
if time.perf_counter() - self.Atimestamp < 3: if self.questionList: await self.newQuestion()
time.sleep(2) # waits for 2 seconds if the answer was given very recently
if not self.answered and not self.stop:
await client.send_message(self.channel, choice(self.noAnswers))
# client.send_typing(self.channel) #doesn't work for some reason
time.sleep(3)
trivia_sessions.remove(self)
async def checkAnswer(self, message):
if self.currentA.lower() == message.content.lower() and not self.answered:
if message.author.name in self.scorelist:
self.scorelist[message.author.name] += 1
else: else:
self.scorelist[message.author.name] = 1 if os.path.isfile("trivia/" + qlist + ".txt"):
await client.send_message(self.channel, "{} `Correct answer! +1 point! ({} points)`".format(message.author.mention, str(self.scorelist[message.author.name]))) self.questionList = self.loadList("trivia/" + qlist + ".txt")
self.Atimestamp = time.perf_counter() self.status = "new question"
self.answered = True self.timeout = time.perf_counter()
if self.questionList: await self.newQuestion()
else:
await client.send_message(self.channel, "`There is no list with that name.`")
await self.stopTrivia()
else:
await client.send_message(self.channel, "`!trivia [list name]`")
async def checkScore(self): async def stopTrivia(self):
for k, v in self.scorelist.items(): global trivia_sessions
if self.scorelist[k] == settings["TRIVIAMAXSCORE"]: self.status = "stop"
await client.send_message(self.channel, "`Congratulations {}! You win!`".format(k)) trivia_sessions.remove(self)
self.sendTable() logger.info("Trivia stopped in channel " + self.channel.id)
self.stop = True
async def endGame(self):
global trivia_sessions
self.status = "stop"
if self.scoreList:
await self.sendTable()
trivia_sessions.remove(self)
logger.info("Trivia stopped in channel " + self.channel.id)
def loadList(self, qlist):
with open(qlist, "r") as f:
qlist = f.readlines()
parsedList = []
for line in qlist:
if "`" in line and len(line) > 4:
line = line.replace("\n", "")
line = line.split("`")
question = line[0]
answers = []
for l in line[1:]:
answers.append(l.lower())
if len(line) >= 2:
line = {"QUESTION" : question, "ANSWERS": answers} #string, list
parsedList.append(line)
if parsedList != []:
return parsedList
else:
self.stopTrivia()
return None
async def newQuestion(self):
for score in self.scoreList.values():
if score == settings["TRIVIA_MAX_SCORE"]:
await self.endGame()
return True
self.currentQ = choice(self.questionList)
self.questionList.remove(self.currentQ)
self.status = "waiting for answer"
self.count += 1
self.timer = int(time.perf_counter())
await client.send_message(self.channel, "**Question number {}!**\n\n{}".format(str(self.count), self.currentQ["QUESTION"]))
while self.status != "correct answer" and abs(self.timer - int(time.perf_counter())) <= settings["TRIVIA_DELAY"]:
if abs(self.timeout - int(time.perf_counter())) >= settings["TRIVIA_TIMEOUT"]:
await client.send_message(self.channel, "Guys...? Well, I guess I'll stop then.")
await self.stopTrivia()
return True
await asyncio.sleep(1) #Waiting for an answer or for the time limit
if self.status == "correct answer":
self.status = "new question"
await asyncio.sleep(3)
if not self.status == "stop":
await self.newQuestion()
elif self.status == "stop":
return True
else:
msg = choice(self.gaveAnswer).format(self.currentQ["ANSWERS"][0])
if settings["TRIVIA_BOT_PLAYS"]:
msg += " **+1** for me!"
self.addPoint(client.user.name)
self.currentQ["ANSWERS"] = []
await client.send_message(self.channel, msg)
await asyncio.sleep(3)
if not self.status == "stop":
await self.newQuestion()
async def sendTable(self): async def sendTable(self):
self.scorelist = sorted(self.scorelist.items(), reverse=True, key=lambda x: x[1]) # orders score from lower to higher self.scoreList = sorted(self.scoreList.items(), reverse=True, key=lambda x: x[1]) # orders score from lower to higher
t = "```Scores: \n" t = "```Scores: \n\n"
for score in self.scorelist: for score in self.scoreList:
t += score[0] # name t += score[0] # name
t += "\t" t += "\t"
t += str(score[1]) # score t += str(score[1]) # score
@ -394,10 +460,21 @@ class Trivia():
t += "```" t += "```"
await client.send_message(self.channel, t) await client.send_message(self.channel, t)
async def stopp(self): async def checkAnswer(self, message):
self.stop = True self.timeout = time.perf_counter()
await client.send_message(self.channel, "`Trivia stopped!`") for answer in self.currentQ["ANSWERS"]:
logger.info("Trivia stopped in channel " + self.channel.id) if answer in message.content.lower():
self.currentQ["ANSWERS"] = []
self.status = "correct answer"
self.addPoint(message.author.name)
await client.send_message(self.channel, "You got it {}! **+1** to you!".format(message.author.name))
return True
def addPoint(self, user):
if user in self.scoreList:
self.scoreList[user] += 1
else:
self.scoreList[user] = 1
def getTriviaQuestion(self): def getTriviaQuestion(self):
q = choice(list(trivia_questions.keys())) q = choice(list(trivia_questions.keys()))
@ -845,6 +922,29 @@ async def twitchCheck(message):
else: else:
await client.send_message(message.channel, "{} `!twitch [stream]`".format(message.author.mention)) await client.send_message(message.channel, "{} `!twitch [stream]`".format(message.author.mention))
async def triviaList(message):
await client.send_message(message.author, trivia_help)
msg = "**Available trivia lists:** \n\n```"
lists = os.listdir("trivia/")
if lists:
clean_list = []
for txt in lists:
if txt.endswith(".txt") and " " not in txt:
txt = txt.replace(".txt", "")
clean_list.append(txt)
if clean_list:
for i, d in enumerate(clean_list):
if i % 4 == 0 and i != 0:
msg = msg + d + "\n"
else:
msg = msg + d + "\t"
msg += "```"
await client.send_message(message.author, msg)
else:
await client.send_message(message.author, "There are no trivia lists available.")
else:
await client.send_message(message.author, "There are no trivia lists available.")
async def uptime(message): async def uptime(message):
up = abs(uptime_timer - int(time.perf_counter())) up = abs(uptime_timer - int(time.perf_counter()))
up = str(datetime.timedelta(seconds=up)) up = str(datetime.timedelta(seconds=up))
@ -1497,9 +1597,6 @@ def loadDataFromFiles(loadsettings=False):
commands = dataIO.fileIO("commands.json", "load") commands = dataIO.fileIO("commands.json", "load")
logger.info("Loaded " + str(len(commands)) + " lists of custom commands.") logger.info("Loaded " + str(len(commands)) + " lists of custom commands.")
# trivia_questions = dataIO.loadTrivia()
# logger.info("Loaded " + str(len(trivia_questions)) + " questions.")
badwords = dataIO.fileIO("filter.json", "load") badwords = dataIO.fileIO("filter.json", "load")
logger.info("Loaded " + str(len(badwords)) + " lists of filtered words.") logger.info("Loaded " + str(len(badwords)) + " lists of filtered words.")
@ -1558,6 +1655,9 @@ def main():
if not os.path.exists("cache/"): #Stores youtube audio for DOWNLOADMODE if not os.path.exists("cache/"): #Stores youtube audio for DOWNLOADMODE
os.makedirs("cache") os.makedirs("cache")
if not os.path.exists("trivia/"):
os.makedirs("trivia")
loop.create_task(twitchAlert()) loop.create_task(twitchAlert())
#client.run(settings["EMAIL"], settings["PASSWORD"]) #client.run(settings["EMAIL"], settings["PASSWORD"])

View File

@ -1 +1 @@
{"VOLUME": 0.2, "DOWNLOADMODE": true, "EDIT_CC_ADMIN_ONLY": false, "EMAIL": "EMAILHERE", "TRIVIAMAXSCORE": 10, "PASSWORD": "PASSWORDHERE", "FILTER": true, "CUSTOMCOMMANDS": true, "LOGGING": true, "TRIVIADELAY": 15, "TRIVIA_ADMIN_ONLY": false, "ADMINROLE": "Transistor"} {"ADMINROLE": "Transistor", "TRIVIA_DELAY": 15, "DOWNLOADMODE": true, "TRIVIA_BOT_PLAYS": false, "TRIVIA_MAX_SCORE": 10, "PASSWORD": "PASSWORDHERE", "VOLUME": 0.2, "TRIVIA_ADMIN_ONLY": false, "EMAIL": "EMAILHERE", "EDIT_CC_ADMIN_ONLY": false, "TRIVIA_TIMEOUT": 120, "CUSTOMCOMMANDS": true, "LOGGING": true, "FILTER": true}

160
trivia/games.txt Normal file
View File

@ -0,0 +1,160 @@
What game made popular the phrase "Do a barrel roll?"`Star Fox 64
Who is the main character from Final Fantasy VII?`Cloud Strife
What is Mario's surname?`Mario
What was Mario's original name?`Jumpman
In what game did Mario make his first appearance?`Donkey Kong
Who was Sega's mascot?`Sonic the Hedgehog`Sonic
Who is the main character of Final Fantasy VIII?`Squall Leonhart`Squall
What game mixed both Disney characters with Final Fantasy characters?`Kingdom Hearts
Who is the main character in Kingdom Hearts?`Sora
In the original Kingdom Hearts, who is Sora looking for?`Kairi
Who is the main character from Final Fantasy IX?`Zidane Tribal
In what series of video games did Master Chief appear?`Halo
What video game made the Golden Gun famous?`Goldeneye
Gran Turismo is exclusive to 1 console, what is it?`Sony Playstation
Who is Harry Potter's best friend in the game "Harry Potter and the Chamber of Secrets"?`Ron Weasley
What role do you play in the game "Pacific Strike"?`American pilot
What famous monkey had a considerable role in turning Nintendo into the company they are today?`Donkey Kong
IN the "Final Fantasy X", where is blitzball played?`Underwater
What was the name of the four-armed sub-boss in the original "Mortal Kombat"?`Goro
In the Xbox game "Halo", what is the name of the main character?`Master Chief
Which famous skateboarder has his name on a skateboard video game series?`Tony Hawk
Which type of game is "Mortal Kombat"?`Fighting
In "Animal Crossing: Wild World", what wildlife is found in the town observatory?`Owl
At what level do you get the Hadouken Fireball in "Mega Man X"?`Armored Armadillo Stage
What color is the big truck pictured on the cover of "Excite Truck"?`Red
Who is the voice for 3DO's Gex?`Dana Gould
The game "Kingdom of Hearts" is the story of a boy of what name?`Sora
What was the last Ridge Racer" game in arcades before "Ridge Racer V"?`Rave Racer
How many years after the events of Soulcalibur IV do the events of Soulcalibur V take place?`17`17 years
What is the theme of the game "Golden Nugget 64"?`Gambling
In Vegas, what color is traditionally used for the zero in a roulette wheel?`Green
IN the official Monopoly rules, what happens when you land on "Free Parking"?`Nothing
Along with the Z, what title has the highest value (10) in Scrabble?`Q
In Monopoly, what is the rental on Boardwalk with one house?`200
How many possible opening moves are there in a game of draughts?`7
How many counters does a player start with in Backgammon?`15
In the Game of Life, what are the playing pieces that you move around the board?`Cars
Who is the aging hippie ex-marijuana farmer in "GTA: San Andreas"?`The Truth
"Call of Duty: Ghosts" is what number primary installment in the COD series?`Ten`10`Tenth`10th
What number in the series is "Medal of Honor: Frontline"?`Fourth`Four`4`4th
What part of a prehistoric tree grants invulnerability in "Uncharted 2: Among Thieves"?`Sap
What new button is featured on the PS4's Dualshock 4 controllers?`SHARE
The PS4, along with Xbox One and Wii U, is a part of what generation of video game consoles?`8th`8`eight`eighth
Who is the main protagonist of "Call of Duty: Ghosts"?`Logan Walker
Who is the main antagonist of "Battlefield 4"?`Admiral Chang
Who is the main character of "GTA: San Andreas"?`CJ`Carl Johnson
In "GTA: San Andrea", what is CJ's brother's name?`Sweet
What popular PS3 game that spawned a sequel was narrated by Stephen Fry?`Little Big Planet
What Rockstar Game was the first to feature bullet time?`Max Payne
Who must Kratos kill in "God of War"?`Ares
Who is the main protagonist of "Final Fantasy X"?`Tidus
What was the last Mortal Kombat game for sixth generation consoles?`Armageddon
What game did Harmonix create when it lost the rights to the Guitar Hero franchise?`Rock Band
Who is Nathan Drake's estranged wife in the "Uncharted" series?`Elena Fisher
In the deathmatch mode of what game can you unlock William Shakespeare as a playable character?`Medal of Honor
In "Twisted Metal 2″, what does Krista Sparks drive?`Grasshopper
How many levels are there in the Tower of Orthanc in "Lord of the Rings: The Two Towers"?`20`twenty
What mode in "Gran Turismo" do you play to unlock new cars and tracks?`Simulation
What is the Helghast home planet in "Killzone: Shadowfall"?`Helghan
Who is the main character of "Battlefield 4″?`Daniel Recker
What new 4-player co-op mode is introduced in "Call of Duty: Ghosts"?`Extinction
In what survival horror game does Harry Mason search for his lost daughter?`Silent Hill
"Crash Bandicoot" is set on a trio of islands southeast of where?`Australia
Who published the game "1942" on the NES?`Capcom
"Donkey Kong 64" appeared on the Nintendo 64 in which year?`1999
Who is the owner of Lon Lon Ranch in the "Legend of Zelda" games?`Talon
In the "Banjo-Kazooie" games what type of animal in Banjo?`Honey Bear
Who kisses Mario on the nose at the end of "Super Mario 64"?`Princess Peach
In the earlier "Mario" games what is the character Princess Peach also known as?`Princess Toadstool
Which console did Nintendo release as their 3rd home console?`Nintendo 64
Pokemon first appeared on which Nintendo console?`Game Boy`Gameboy
Which Nintendo character is famous for being the first playable female hero in video game history?`Samus`Samus Aran
What was the name of "Castlevania" game released on the SNES?`Super Castlevania IV
What kind of game is "Dementium: The Ward" on the Nintendo DS?`Survival Horror
IN which game does Mario wear the Tanooki Suit which gives him the ability to fly?`Super Mario Bros 3
Which was the second title in the "Professor Layton" series on the Nintendo DS?`The Diabolical Box
In which game in the "Star Fox" series was the game character based rather than flight based?`Star Fox Adventures
Who is the main adversary in the Game Boy advance game "Zelda: The Minish Cap"?`Vaati`Vaati the Wind Mage
What is the companion release to "Pokemon Diamond" on the Nintendo DS?`Pearl
In the game "Paper Mario" what does the player have to collect for the main quest?`Star Spirits
What is the best selling game on the Nintendo Wii?`Wii Sports
In what year was popular video game "Halo 4" released?`2012
The first successful video game was "Pong", which was Atari's arcade version of what game?`Table Tennis
Name of the Mad Scientist who created deformed creatures in the video game Farcry?`Krieger
Who became the Real American Hero in the 1980s, when he battled COBRA?``G.I. joe`GI Joe
The Strong National Museum of Play has thousands of video games and it's in Rochester in what state?`New York
What does "RPG" stand for in the world of gaming?`Role Playing Game
In the original "Donkey Kong" arcade game, what was the ape's favorite weapon to use against Mario?`Barrel`Barrels
Final Fantasy VII was originally designed in what video game system?`Nintendo 64
What was the doomed console Apple released against the Nintendo 64, Sony PlayStation and Sega Saturn?`Apple Pippin
In what video game must a player maintain proper educational quotients, life expediencies, as well as pollution levels?`Sim City
What is the name of town in Diablo?`Tristram
In what country can the town of Silent Hill be found?`United States
Name the Atlantean admiral in the campaigns of the popular game Age of Mythology?`Arkontos
Name of the protagonist of the video game Half-Life?`Gordon`Gordon Freeman
The Half Life symbol is what Greek letter?`Lambda
In what video game must a player collect four rune keys to prevent Shun-Niggurath form destroying the world?`Quake
Who is the son of Durotan, an Orcish chiefain in the World of Warcraft?`Thrall
What PopCap game required you to swap adjacent gems to form chains of three or more?`Bejeweled
How much time does Link have to defeat Skull Kid in Majora's Mask?`3 days
The barrel roll from Star Fox 64 isnt actually a barrel roll but what?`Aileron roll
What was the first name of the game developing company Atari?`Syzygy
What year did Facebook debut?`2004
By what name was Netscape known officially before it became Netscape?`Mosaic
Founded by Paypal employees, what site was bought by Google for $1.65 billion?`YouTube
Pescadero, Oceano and Indio are codenames of earlier version of which popular software?`Firefox
Which American Vice President referred to the Internet as an "Information Super Highway"?`Al Gore
"Relationship Matter" is the slogan of which social networking site?`Linked In`Linkedin
What year was the Nintendo Game Boy released in the US?`1990
In what year was the compact disk invented?`1965
What was the "beta version" of the Internet called?`ARPAnet
How is binary digit more commonly known?`Bit
Which company published the famous first person shooter game 'Quake'?`id Software
Name the ebook develped by Barnes & Noble.`Nook
Who released the 2011 viral video 'Friday'?`Rebecca Black
Advertised briefly as the bloodiest video game in existence`mortal kombat
How many buttons (excluding the control pad) did the original NES controller have?`Four`4
How many fighters are playable in 'Street Fighter II'?`Eight`8
If you're killing a goomba, what game are you playing?`Super Mario Bros`Mario
In Chrono Trigger, who is the "Master of War?"`Spekkio
In 'Pac-Man' for the Atari 2600, how many points were each pellet worth?`One`1
In Sonic the Hedgehog, the character Knuckles is what species?`Echidna
In Super Mario Bros. 2, how many extra lives do you get for spinning three 7s on the slot machine?`Ten`10
In the game "Chrono Trigger," what is Lucca's mother's name?`Lara
In the game Joust, what animal was your mount?`Ostrich
In the original Contra, what gun would "S" get you?`Spread Gun
In the Sonic the Hedgehog series, what serves as your energy?`Rings`ring
Mega Man's traditional nemesis in the Mega Man series is whom?`Dr. Wily` Dr wily
Samus Aran is the femme-fatale of which series of games?`Metroid
The Hylians come from what game series?`The Legend of Zelda`legend of zelda`zelda
The Nintendo 64 was titled under what name during production?`Project Reality
The quote "You spoony bard!" is from what game?`Final Fantasy IV`Final Fantasy 4
What alternate dimension does Link find himself in in Majora's Mask?`Termina
What color is the 1-up mushroom in Super Mario Bros.?`Green
What does the acronym "NES" stand for?`Nintendo Entertainment System
What do you need to collect 100 of to get an extra life in Super Mario Bros.?`Coins
What is Mario's profession?`Plumber
What is the most powerful whip in 'Castlevania 2'?`Flame Whip
What is the name of the cloud-riding, glasses-wearing koopa in the Super Mario Bros. series?`Lakitu
What is the name of the Playstation controller that uses two analog joysticks?`Dual Shock
What is the name of the Star Fox Team's cocky wingman?`Falco Lombardi`Falco
What is your character's name in the 'Legend of Zelda' series?`Link
What member of the original StarFox team betrays the group to join StarWolf?`Pigma Dengar`Pigma
What number is the Pokemon "Scyther" in the Pokemon GameBoy games`123
What year was the first final fantasy created`1987
Which company made the original 'Donkey Kong'?`Nintendo
Which was the first console "Duke Nukem' game?`Duke Nukem 64
Who created the music for N2O: Nitrous Oxide?`The Crystal Method`Crystal Method
Who invented Tetris?`Alexey Pazhitnov`Alexey Pajitnov
Who is Mega Man's creator?`Dr. Light`Dr Light
Who is Mega Man's sister?`Roll
Who is the developer at Nintendo responsible for classics like Donkey Kong, Super Mario Bros., and The Legend of Zelda?`Shigeru Miyamoto
Who is the famed musical director for Square's Final Fantasy series?`Nobuo Uematsu
Who is the first gym leader you fight in 'Pokmon' for the Game Boy?`Brock
Who is the main character from Nintendo's 'Earthbound'?`Ness
Who is the main character in the 'DeathQuest' series?`Lucretzia
Who is the third opponent in 'Super Smash Brothers'?`Fox McCloud`Fox
Who was the main character in the original 'Street Fighter'?`Ryu
What's the first video game to become a television show`pacman
What series is the theme "green hill zone" from?`Sonic The Hedgehog`Sonic

335
trivia/general.txt Normal file
View File

@ -0,0 +1,335 @@
How long is a MLS soccer match?`90 Mins`90`90m`90 minutes
What was Sleeping Beauty's given name?`Aurora
"Neuro" means related to the what?`Brain
Luke, I am your ...?`Father
Who was the first person to do a 900 degree in skateboarding?`Tony Hawk
Which metal band has a mascot named "Eddie"?`Iron Maiden
Whose motto is 'We are a legion. We don't forgive. We don't forget'?`Anonymous
Whose painting is used on Woody Allen's 'Midnight in Paris' movie poster?`Van Gogh`Vincent van Gogh
Whose quote is "fly like a butterfly sting like a bee"?`Muhammad Ali
Who's the writer of 'Game of Thrones'?`George R.R. Martin`George R R Martin`GRRM
Whose album is ARTPOP?`Lady Gaga
Who's the singer and leader of Radiohead?`Thom Yorke
Who's the soccer player that has scored the most goals in the World Cups?`Klose
Who's the swimmer that has won 71 medals?`Michael Phelps
Who's the only person on The Simpsons that has 5 fingers?`God
Who's the father of modern electromagnetism?`Maxwell
Who's the main character in Grey's Anatomy?`Meredith
Whos is Peeta Mellark in love with?`Katniss Everdeen`Katniss
Whom is the famous phrase "I am your father" referred to?`Luke Skywalker
Who worked with Jackie Chan in Rush Hour 2?`Chris Tucker
Who won the FIFA World Cup of South Africa 2010?`Spain
Who won the FIFA World Cup in 2002?`Brazil
Who won the 2012 Champions League?`Chelsea
Who were the first users of papyrus?`Egyptians`Egyptian`Egypt
Who was the philosopher who said 'I only know that I know nothing'?`Socrates
Who was the only actor to win an Oscar afterhis death?`Heath Ledger
Who was the number 23 for the Chicago Bulls?`Michael Jordan
Who was the main actor in the movie Click?`Adam Sandler
Who was Sam's girlfriend in the movie Transformers 1 and 2?`Megan Fox
Who was JD's best friend in the TV series 'Scrubs'?`Turk
Who was Brad Pitt's partner in the 1995 film 'Se7en'?`Morgan Freeman
Who was Brad Pitt's first wife?`Jennifer Aniston
Who voiced Woody in the "Toy Story" trilogy?`Tom Hanks
Who sings the song "Love Story"?`Taylor Swift
Who stars in the movie "I am legend"?`Will Smith
Who says the famous salute "Live Long and Prosper"?`Spock
Who said "Time is a flat circle"?`Nietzsche
Who said that "objects which have no resultant force are either stationary or moving at constant velocity"?`Isaac Newton`Newton
Who released the album 'AM'?`Arctic Monkeys
Who plays the crazy person in the movie '12 Monkeys'?`Brad Pitt
Who is Thor's Father?`Odin
Who is the god of gods in Greek mythology?`Zeus
Who is the creator of characters like Spider Man and The Fantastic Four?`Stan Lee
Who is the creator of "Family Guy"?`Seth MacFarlane
Who is the "black sheep" in Family Guy?`Meg
Who is Superman' sweetheart?`Lois Lane
Who is SpongeBob SquarePants' best friend?`Patrick
Who is Spider-Man?`Peter Parker
Who is Mario's brother?`Luigi
Who is Bart Simpson's best friend?`Milhouse
Who is Bruce Wayne?`Batman
Who is Ned Stark's youngest daughter in the TV series 'Game of Thrones'?`Arya Stark`Arya
Who invented the telephone?`Bell
Who invented the world's first successful airplane?`Wright brothers
Who is the main character in "The Lion King"?`Simba
Who created Mickey Mouse?`Walt Disney
Who composed the music for the film 'Tron: Legacy'?`Daft Punk
"Bharathanatiyam" is the national dance of what country?`India
"Mr. Pink" is the alias of a character in which Quentin Tarantion film?`Reservoir Dogs
"Taipei" is the capital city of which country?`Taiwan
Adam Levine is the lead singer of which group?`Maroon 5
At what age did Mozart write his first opera?`Twelve`12
Bananas are rich in what?`Potassium
Complete the title of the Oscar-nominated film starring Tom Cruise, 'The Last ...'?`Samurai
Diamonds are an allotropic form of what element?`Carbon
Due to which element does acid become acidic?`Hydrogen
Edmonton is the capital of which province in Canada?`Alberta
Every how many years are the Winter Olympic Games celebrated?`Four`4
Fe is the symbol for?`Iron
Fraser Island belongs to what country?`Australia
Freddie Mercury was the singer of what band?`Queen
French Fries originate from which country?`Belgium
Heliophobia is the fear of?`Sunlight`The Sun`Sun
"15, 30, 40, game" is used for the scoring system of what sport?`Tennis
How is the speed of boats measured?`Knots
How many bytes are there in 1 kilobyte?`1024
How many cards are there in a deck?`52
How many chambers are there in the human heart?`Four`4
How many fingers does a simpsons character have?`Four`4
How many hearts does an octupus have?`Three`3
How many hours are there in a year?`8760
How many players are there in a cricket game?`Eleven`11
How many players are there in a Quidditch team?`Seven`7
How much is 2 raised to tenth power?`1024
How was Walter White known by the drug cartels in Breaking Bad?`Heisenberg
If you multiply the base by the height, and then divide by 2, you're calculating the area of what geometric figure?`Triangle
If you want to go Stockholm, what country are you in?`Sweden
In 'The Simpsons', what sort of animal is Itchy?`Mouse
In an e-mail, what does CC mean?`Carbon Copy
In Breaking Bad, what colour are Marie's appliances?`Purple
In chess, how many differents directions can the queen move if she is in one corner of the board?`Three`3
In computer science, what does the acronym LAN stand for?`Local Area Network
In Computer terms, what does CPU stand for?`Central Processing Unit
In Disney's Tangled, what was the name of Repunzel's animal side kick?`Pascal
In Divergent, what is the real name of the character named "Four"?`Tobias
In Doctor Who, how many hearts does the doctor have?`Two`2
In Doctor Who, what is the name of the Doctor's tin dog?`K9
In Greek mythology which monster is half goat, lion and snake?`Chimera
In Greek mythology, who was the god of the Underworld?`Hades
In tennis, what's the name of the point won directly with a serve?`Ace
How many rings on the Olympic flag`Five`5
What colour is Spock's blood`Green
Whose nose grew when he told a lie`Pinocchio
If you had pogonophobia what would you be afraid of`Beards
Which country grows the most fruit`China
Which company is owned by Bill Gates`Microsoft
Triskadeccaphobia is the fear of what`The Number 13`13`Thirteen`Number 13
Ictheologists study what`Fish
Who or what lives in a formicarium`Ants
Which part of the human body contains the most gold`Toenails`toenail
La Giaconda is better known as what`Mona Lisa
What is the largest state in the USA`Alaska
Clyde Tonbaugh discovered what planet in 1930`Pluto
In Japan what is Seppuku Hari Kari`suicide
What martial arts name means gentle way`Judo
In which country would you find the Negev desert`Israel
Which character has been played by the most actors`Sherlock Holmes
What element did Marie and Pierre Curie discover`Polonium & Radium`Polonium`Radium
What are Sarte, Neitzsche, Russell and Decartes`Philosophers`Philosopher
arry Allen was the alter ego of which DC comic superhero`The Flash`Flash
Linus Torwalds invented and wrote what`Linux kernel`Linux
What is the staple food of one third of the worlds population`Rice
Jagger, Richards, Wyman, Jones, Watts, Stewart - which band`The Rolling Stones`Rolling Stones
What digit does not exist in Roman Numerals`Zero`0
In Texas Hold'em, how many cards are dealt in 'The Flop'?`Three`3
In the British sci-fi show "Doctor Who", what's the name of the spaceship that can travel through space and time?`TARDIS
In the first Harry Potter film, what was the name of Neville Longbottom's pet toad?`Trevor
In The Simpsons, how many children does Apu have?`Eight`8
In the TV show "The Big Bang Theory", What is Sheldon's catch phrase?`Bazinga
In what country was Osama bin Laden found in 2011?`Pakistan
In what Disney movie could you listen to the song 'A Whole New World'?`Aladdin
In what field sport the winner is the player who has the lowest score?`Golf
In what movie does Arnold Schwarzenegger go to Mars?`Total Recall
In what state is Area 51 located?`Nevada
In what TV series did Steve Urkel appear?`Family Matters
In which direction does the sun set?`West
In which European city can you visit the Louvre Museum?`Paris
On "Sponge Bob Square Pants", what kind of animal is Sandy?`Squirrel
On the show "Spongebob Squarepants" Spongebob lives is which type of fruit?`Pineapple
To which organ of the body does the adjective adrenal relate?`Kidney
What is 26 in Roman numerals?`XXVI
What chemical element gives red wine its color?`Iron
What chess piece has the most freedom of movement?`Queen
What city does Batman protect?`Gotham
What color are Peter Pan's clothes?`Green
What color is a smurf?`Blue
What company makes the Radeon video cards?`AMD`ATI
What do the Olympic rings represent?`continents
What does BBC stand for?`British Broadcasting Company
What does E stand for in the formula E=mc2?`Energy
What day of the week does does Garfield hate?`Monday
What does RAM stand for?`Random Access Memory
What does the Q in Q-tip stand for?`Quality
What element has an atomic number of 69?`Thulium
What famous author was known for "The Iliad" and "The Odyssey"?`Homer
What hand is more valuable in poker?`Royal flush
What happens when a star explodes?`Supernova
What is a perfect game scoring in bowling?`300
What is Sherlock Holmes's brother called?`Mycroft
What is the chemical symbol for gold?`Au
What is the French word for Thank You?`Merci
What is the integral of cos(x)?`-sin(x)
What is the largest planet in the solar system?`Jupiter
What is the last name of the family in the TV series 'Family Guy'?`Griffin
What is the name given to a word or phrase that reads the same backward and forward?`Palindrome
What is the name of Iron Man's computer assistant?`Jarvis
What is the name of Mickey Mouse's dog?`Pluto
What is the name of our galaxy?`Milky Way
What is the name of restaurant where SpongeBob works?`The Krusty Krab`Krusty Krab
What is the name of Ron's sister in "Harry Potter"?`Ginny
What is the name of the actor who portrayed Jesse Pinkman on the TV series Breaking Bad?`Aaron Paul
What is the name of the battle where Napoleon was finally defeated?`Waterloo
What is the name of the cat in Stuart Little?`Snowy
What is the name of the cat that goes after Jerry?`Tom
What is the name of the component used to store energy in an electric field?`Capacitor
What is the name of the dog on Family Guy?`Brian
What is the name of the dwarf in Game of Thrones?`Tyrion
What is the name of the dynasty in China in 15th century?`Ming
What is the name of the giant bunny in "Donnie Darko"?`Frank
What is the name of the Greek goddess of wisdom?`Athena
What is the name of the lawyer in Breaking Bad?`Saul
What is the name of the main character in 'The Legend of Zelda'?`Link
What is the name of the Olympian goddess of love and beauty?`Aphrodite
What is the name of the water Greek God?`Poseidon
What is the number of the platform to take the Hogwarts Express?`9 3/4
What is the official language in Iran?`Farsi
What is the opposite colour of red?`Green
What is the planet in the solar system whose size is closest to that of the Earth?`Venus
What is the sum of the numbers 1 to 10?`55
What kind of tree gives acorns?`Oak
What organ processes the sodium in the body?`Kidney
What philosopher said the famous sentence 'I think, therefore I am'?`Descartes
What planet is the closest to the Sun?`Mercury
What planet was named after the God of War?`Mars
What Power Ranger was the leader (color)?`Red
What protocol is used by a router to assign dynamic IP addresses?`DHCP
What the binary number 1010 in decimal?`10
What scientist is famous for his three laws of physics?`Newton
What species was Chewbacca?`Wookie
What sport do you play if you are part of the NHL?`Hockey
What substance is injected to people with diabetes to reduce their hyperglycemia?`Insulin
What superhero was portrayed by Christian Bale?`Batman
What team of the NBA made Michael Jordan famous?`Chicago Bulls
What was Eminem's first album called?`Infinite
What was Muhammed Ali's real name?`Cassius Clay
What was Spock's race?`Vulcan
What was the first movie produced by Pixar?`Toy Story
What was the name of the ceremony where a Samurai would kill himself?`Seppuku
What's the abreviation of 'picture element'?`Pixel
What's the adjective used for the planes flying faster than the speed of sound?`Supersonic
What's the band that has won the most Grammy awards?`U2
What's the biggest mammal?`Whale
What's the chemical symbol of salt?`NaCl
What's the name of Snoopy's owner?`Charlie Brown
What's the name of Sponge Bob's best friend?`Patrick
What's the name of the bar tender in The Simpsons?`Moe
What's the name of the cup of the National Hockey League?`Stanley Cup`Stanley
What's the name of the dance step popularized by Michael Jackson?`Moonwalk
What's the name of the instrument used to measure atmospheric pressure?`Barometer
What's the name of the lead singer of the band Radiohead?`Thom Yorke
What's the name of the princess from Beauty`Belle
What's the name of the protagonist in the TV series "Breaking Bad"?`Walter White
What's the name of the traditional Japanese art of paper folding?`Origami
What are Ethan Kath and Alice Glass better known as?`Crystal Castles
What's the square root of 144?`12
Which is Canada's largest province?`Quebec
Which is the only bird that can fly backwards?`Hummingbird
Which is the only mammal in the world unable to burp?`Horse
Which of the original Spice Girls was the only one with a 'spice' nickname?`Geri Halliwell`Geri`Ginger
Which organ is responsible of producing insulin?`Pancreas
Which real city is taken by Gotham city in Batman movies?`Chicago
Which rock group is famous for the song "Stairway to Heaven"?`Led Zeppelin
Which sea is known by its high levels of salt?`Dead Sea
Which sports brand uses as its slogan the phrase "Just do it"?`Nike
Which state is known as the potato state?`Idaho
What did the Scarecrow want from the Wizard of Oz?`A brain`brain
What is Keanu Reeves character's Real name in "The Matrix" (1999)?`Thomas Anderson`Tom Anderson
What is the name of Han Solo's ship in "Star Wars"?`The Millennium Falcon`millennium falcon`millenium falcon
What kind of car was used as a time machine in the "Back To The Future" movies?`A DeLoren`deloren
What is the name of the sequel to "101 Dalmations"`102 Dalmations
What was Indiana Jones's real first name?`Henry
Who is famous for saying 'I'll be back'?`Arnold Schwarzenegger`Arnold
Who is famous for saying 'Make my day'?`Clint Eastwood`eastwood
In what movie did we first hear 'May the force be with you'?`Star Wars
How many tentacles does an octopus have?`Eight`8
How many legs does a spider have?`Eight`8
Where was the game of golf invented?`Scotland
What U.S. city is also called 'The Windy City'?`Chicago
What is the name of the bad guy in Peter Pan?`Captain Hook`Hook
What is the river named most often in the Bible?`Jordan
What is the Scottish word for lake?`Loch
Which planet is closest to the sun?`Mercury
How many moons does Mars have?`Two`2
Where were the 2000 Olympics held?`Sydney`Australia
What did Sir Galahad search for`The Holy Grail?`holy grail
What is the Spanish name for the South American capital which means 'good air'?`Buenos Aires
What is the capital of Hungary?`Budapest
What name is Paul Hewson better know as?`Bono
How many members in the guy group N'SYNC?`Five`5
Name a membera of N'SYNC whose name does NOT start with the letter "J".`Chris or Lance`Chris`Lance
What year was the movie Ben Hur with Charlton Heston made`1959
What is a Wyvern`A Type of dragon`Type of dragon`dragon
What year were PopTarts invented?`1964
What African country is only 8 miles from Spain?`Morocco
Which people created the sundial?`The Egyptians`Egyptians
Who did Paris, the ruler of Troy, select as the most beautiful goddess?`Aphrodite
What are Pyxis, Puppis, and Pavo?`constellations
How many deserts are in or extend into the United States?`Five`5
Name the 500,000 square mile desert that Mongolia and China share.`Gobi
What is the type of computer virus that is named after a device of trickery used in a famous mythological war?`Trojan Horse`trojan
When was the World Wide Web developed?`1990
In what Swiss city was the World Wide Web first developed?`Geneva
What color are the Majestic mountains in "America the Beautiful"?`Purple
Who made his debut in Action Comics No.1?`Superman
What color is the center stripe on the American flag?`Red
How many of the seven dwarf's names do not end with "y"?`Two`2
How many planets are between Earth and the sun?`Two`2
What country covers an entire continent?`Australia
Who was the first woman to win a Nobel Prize?`Marie Curie`Curie
Who wrote LES MISERABLES?`Victor Hugo`Hugo
Who wrote the novel NINETEEN EIGHTY-FOUR?`George Orwell`Orwell
How many stars are there on the Austrailian flag?`Six`6
In the sequence 2, 3, 5, 7, 11, 13, what number comes next?`Seventeen`17
What is the capital of Nova Scotia, Canada?`Halifax
Which country uses a Yen for money?`Japan
What country is the Aswan High Dam in?`Egypt
What did they use for croquet mallets in "Alice in Wonderland"?`Flamingoes`flamingos
What two gases are used in a welding torch?`Oxygen and Acetylene`oxygen`acetylene
What is the closest star to the Earth?`The sun`sun
What does a sphygmomanometer measure?`Blood pressure
When measuring acidity and alkalinity, what does "pH" stand for?`per hydroxide
Which poison smells like almonds?`Cyanide
What was Sherlock Holmes' brother's name?`Mycroft Holmes`Mycroft
Zeus created warriors called Myrmidons out of what creatures?`Ants`Ant
Vulcan blood is based on what metal?`Copper
What is the name given to the change in pitch accompanied by an approaching or receeding sound source?`Doppler Effect`Doppler
Which Roman god had two faces?`Janus
What was Dr. Who's phone booth called?`Tardis
Name Captain Nemo's submarine?`Nautilus
In what ancient city did Alexander the Great die?`Babylon
What does HDD stand for?`Hard Disk Drive
What does USB stand for?`Universal Serial Bus
What does WWW stand for?`World Wide Web
What does URL stand for?`Uniform Resource Locator
What was the name of the first wide-scale peer-to-peer music sharing application?`Napster
What company first invented the modern mouse?`Xerox
How many bits are in a byte?`eight`8
Solve for X: 5x+4=24`Four`4
How many sides does a 'icosohedron' have?`Twenty`20
What color reflects light from all parts of the visible spectrum?`white
How many states begin with the letter "A"?`Four`4
How many times did Dorothy click her heels together?`Tree`3
What color is Lisa's necklace on The Simpsons?`white
What color is a giraffe's tongue?`black
Curious George's friend was The Man in the what color hat?`yellow
What color blood does Mr. Spock have?`green
What nationality was Aladdin?`Chinese
What's the capital of the Netherlands?`Amsterdam
What Dr. Seuss character steals Christmas?`The Grinch`grinch
What's the primary color with the shortest name?`Red
What is the name for a male witch?`Warlock
What type of monster dies from a silver bullet?`Werewolf
What is the name of Harry Potter's owl?`Hedwig
Loch Ness is located in what country?`Scotland
How many stones did David carry into battle with Goliath?`Five`5
"I soiled my armor I was so scared!" is from which movie?`Monty Python and the Holy Grail`Holy Grail`Monty Python
"I've been dead once, already. It's very liberating." is from which movie?`Batman
What's the only country to have played in every World Cup soccer tournament?`Brazil
What's the common term for the layout of a computer keyboard?`QWERTY keyboard`qwerty
What city attracted Van Gogh and Toulouse-Lautrec to its bohemian Montmartre district?`Paris
What unit of sound intensity commemorates an inventor's last name?`Decibel
In blackjack, a hand of Ace and Nine can count as Ten or what?`Twenty`20
What's the official language of Brazil?`Portuguese
What does the koala eat exclusively?`Eucalyptus
What's the most abundant element on earth?`Oxygen