Created
July 1, 2020 05:27
-
-
Save paradoxinversion/0d333385f97c2435f792ad8a22632ba3 to your computer and use it in GitHub Desktop.
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
in_thread do | |
tick_set :mainTimer, 1 | |
loop do | |
tick :mainTimer | |
puts look(:mainTimer) | |
cue :ones | |
cue :twos if look(:mainTimer) % 2 == 0 | |
cue :fours if look(:mainTimer) % 4 == 0 | |
cue :eights if look(:mainTimer) % 8 == 0 | |
sleep 1 | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment