Book Image

Internet of things with Intel Galileo

Book Image

Internet of things with Intel Galileo

Overview of this book

This book employs an incremental, step-by-step approach to get you familiarized with everything from the basic terms, board components, and development environments to developing real projects. Each project will demonstrate how to use specific board components and tools. Both Galileo and Galileo Gen 2 are covered in this book.
Table of Contents (12 chapters)
11
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...