Make a controller that automatically plays the famous chrome dino game!
We will begin by building the controller. Because we will use an analog light sensor to control Auto Dino, we'll take a look at how analog sensors work. Then we'll install Arduino IDE to help plot the light sensor values on a graph. After Arduino IDE is installed, we'll make a simple program to monitor sensor values in Blockly, and following that we'll monitor them in Arduino IDE, this time in a chart. You will be able to see how the light sensor reacts to all sorts of different conditions. Before we program our Auto Dino, we'll take a look at how the light sensor sees the cactuses and Petrodactyls - and then we'll have a good idea of how to make our program. Our program will use variables to store light readings, so one more thing we'll do before making the program is to review how variables work. Finally we'll make a program to make Auto Dino play the game for us hands free!