CodeWarriorMalo@gmail.com
@CodeWarriorMalo

Reaction Time
This is a game where the Raspberry Pi lights up a single LED and then the user has to press the button as quickly as they can. The resulting time is displayed in the Raspberry Pi's console window.
Parts:
   1 LED
   2 Resistors (220 Ohm)
   1 Button

Layout:
   
   Black Wire connecting LED and Ground (GPIO Pin #39)
   Red Wire connecting Resistor and LED to 3.3v (GPIO Pin #1)
   Grey Wire connecting Button

Code: