Book Image

Internet of Things with Intel Galileo

By : Miguel de Sousa, Ricardo Miguel F de Sousa
Book Image

Internet of Things with Intel Galileo

By: Miguel de Sousa, Ricardo Miguel F de Sousa

Overview of this book

Table of Contents (17 chapters)
Internet of Things with Intel Galileo
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Running the game


Open the IoT Quiz project and make sure the project is running on Galileo and with all the dependencies installed. Select your device from the devices list or add it manually if it's not listed. Upload the code to Galileo and press the Install/Build button. Run the app by clicking on the Run button. The Galileo IP address should now be displayed on the LCD screen.

Open the Emulate tab in your XDK and the mobile app you just downloaded in order to have two clients. Insert the IP address in both devices:

Inserting the IP address

Next, insert the name:

Inserting players name

As soon as the game countdown timer finishes, the buzzer will sound and both devices will receive the first question. When all the devices finish answering the question, the correct answer will be displayed:

Try to answer all the questions until the final round. When all the questions are answered, the scores will be displayed. Then the game will end and all the players will be disconnected. If you want to play...