Created
April 28, 2016 12:31
Star
You must be signed in to star a gist
checking the sequence against the users choice
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if lights == player: | |
print("CORRECT") | |
correct(0.1) | |
for i in range(150): | |
strip.setPixelColor(i,Color(0,0,0)) | |
strip.show() | |
else: | |
print("WRONG ANSWER McFLY") | |
wrong(0.1) | |
for i in range(150): | |
strip.setPixelColor(i,Color(0,0,0)) | |
strip.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment