Quiz app for RPi3 + Android Things + Philips Hue (min 2 lamps)
Quiz app for RPi3 + Android Things + Philips Hue (min 2 lamps)
Contains hackathon code, amount of wtf’s per minute will probably be high.
You need two teams and one game host. The LogCat functions for now as
UI. Some real UI has to be added (so you can hook up the Pi to a
screen)
Two teams compete against each other, to get as many points as possible.
Everytime a question is shown (for now only in the logcat), the team
that hits the button first will be enlightened (the lamp is turned on).
Team 1 uses the left CTRL key and team 2 uses the right CTRL key. The
team that presses first is allowed to say the answer. The game host
decides whether the answer is correct. If correct, the game host hits
the ‘Y’ (yes) key for approval or ‘N’ (no) to decline. One point is
awarded to the team if the answer was correct. At the end of the game,
the scores and the winner are displayed.
The game has currently 3 questions. Press ‘R’ anytime to restart the game.
I used the following setup. Also works without the Hue lamps, but hey,
that’s no fun at all!
QuizActivity.java
,A couple of todo items from the top of my head. Probably missing a couple…
Created by Leon Joosse, Tom Sabel, Hans van der Scheer and Roland Kierkels
during a Dutch Android User Group meetup. http://dutchaug.org