Trivia Bot
A bot used to solve trivia questions from games such as HQ.
HQ Trivia is a popular live trivia game which awards cash prizes to users who manage to answer all questions asked during the show correctly. The game asks questions across a myriad of genres, making it extremely difficult to win. Trivia Bot provides some help along the way.
HQ Trivia Gameplay
The game provides 3 options to answer a question within 10 seconds. The bot listens to the game's question stream via websockets and leverages online search engines to help the user by quickly suggesting the most relevant answer.
Trivia Bot Output
Trivia Bot searches online and suggests the most relevant answer for each question. The numbers next to each option represent the number of matches found online for that particular answer when searching the question. The additional queries represent more complicated but slightly riskier analysis using NLP, question + answer concatenation and other methods.
Evolution
The first iteration of the bot used QuickTime media player to capture and mirror the output of an iPhone screen to a Macbook screen. The bot would then take a screenshot and use Google OCR to extract the question and answer text. However, this process resulted in a lot of OCR inaccuracies and long runtimes for the bot.
To solve this, Charles Web Debugging Proxy was used to intercept traffic from the HQ game (iPhone application) and discover credentials such as API keys and websocket streams feeding questions to the game. This evolution siginificantly increased both the speed and accuracy of the bot.