Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Major fixed
Added fixes for lights and changes to how the buttons operate.
- Loading branch information
Showing
with
59 additions
and 54 deletions.
- +1 −1 arduino/matrix/matrix.ino
- +1 −1 data.json
- +11 −12 main.js
- +1 −1 python/api.py
- +9 −9 python/buttons.py
- +8 −8 python/lighting.py
- +18 −17 python/scoring.py
- +10 −5 static/index.html
@@ -1 +1 @@ | ||
{"response_code": 0, "results": [{"category": "Entertainment: Video Games", "type": "boolean", "question": "Peter Molyneux was the founder of Bullfrog Productions.", "difficulty": "easy", "correct_answer": "True", "incorrect_answers": ["False"]}, {"category": "Science & Nature", "type": "boolean", "question": "Type 1 diabetes is a result of the liver working improperly.", "difficulty": "medium", "correct_answer": "False", "incorrect_answers": ["True"]}, {"category": "Science: Computers", "type": "boolean", "question": "To bypass US Munitions Export Laws, the creator of the PGP published all the source code in book form. ", "difficulty": "medium", "correct_answer": "True", "incorrect_answers": ["False"]}, {"category": "Entertainment: Video Games", "type": "boolean", "question": "Niko Bellic is the protagonist of Grand Theft Auto IV.", "difficulty": "easy", "correct_answer": "True", "incorrect_answers": ["False"]}, {"category": "Science: Computers", "type": "boolean", "question": ""HTML" stands for Hypertext Markup Language.", "difficulty": "easy", "correct_answer": "True", "incorrect_answers": ["False"]}, {"category": "Entertainment: Video Games", "type": "boolean", "question": "In the game "Subnautica", a "Cave Crawler" will attack you.", "difficulty": "medium", "correct_answer": "True", "incorrect_answers": ["False"]}, {"category": "Science: Mathematics", "type": "boolean", "question": "Zero factorial is equal to zero. ", "difficulty": "medium", "correct_answer": "False", "incorrect_answers": ["True"]}, {"category": "Science: Mathematics", "type": "boolean", "question": "In Topology, the complement of an open set is a closed set.", "difficulty": "hard", "correct_answer": "True", "incorrect_answers": ["False"]}, {"category": "Politics", "type": "boolean", "question": "George Clinton, Vice President of the United States (1805-1812), is an ancestor of President Bill Clinton.", "difficulty": "hard", "correct_answer": "False", "incorrect_answers": ["True"]}, {"category": "Entertainment: Video Games", "type": "boolean", "question": "The game "Pocket Morty" has a Morty called "Pocket Mortys Morty"?", "difficulty": "easy", "correct_answer": "True", "incorrect_answers": ["False"]}]} | ||
{"response_code": 0, "results": [{"category": "Animals", "type": "boolean", "question": "The Axolotl is an amphibian that can spend its whole life in a larval state.", "difficulty": "easy", "correct_answer": "True", "incorrect_answers": ["False"]}, {"category": "Animals", "type": "boolean", "question": "A slug’s blood is green.", "difficulty": "easy", "correct_answer": "True", "incorrect_answers": ["False"]}, {"category": "History", "type": "boolean", "question": "The Cold War ended with Joseph Stalin's death.", "difficulty": "easy", "correct_answer": "False", "incorrect_answers": ["True"]}, {"category": "Geography", "type": "boolean", "question": "The flag of South Africa features 7 colours.", "difficulty": "medium", "correct_answer": "False", "incorrect_answers": ["True"]}, {"category": "General Knowledge", "type": "boolean", "question": "The US emergency hotline is 911 because of the September 11th terrorist attacks.", "difficulty": "medium", "correct_answer": "False", "incorrect_answers": ["True"]}, {"category": "Geography", "type": "boolean", "question": "Israel is 7 hours ahead of New York.", "difficulty": "medium", "correct_answer": "True", "incorrect_answers": ["False"]}, {"category": "Sports", "type": "boolean", "question": "Soccer player Cristiano Ronaldo opened a museum dedicated to himself.", "difficulty": "medium", "correct_answer": "True", "incorrect_answers": ["False"]}, {"category": "Entertainment: Books", "type": "boolean", "question": "The book 1984 was published in 1949.", "difficulty": "easy", "correct_answer": "True", "incorrect_answers": ["False"]}, {"category": "Entertainment: Film", "type": "boolean", "question": "The Xenomorph from the science fiction film "Alien" has acidic blood.", "difficulty": "medium", "correct_answer": "True", "incorrect_answers": ["False"]}, {"category": "Entertainment: Japanese Anime & Manga", "type": "boolean", "question": "Throughout the entirety of "Dragon Ball Z", Goku only kills two characters: a miniboss named Yakon and Kid Buu.", "difficulty": "hard", "correct_answer": "True", "incorrect_answers": ["False"]}]} |