Skip to content

Instantly share code, notes, and snippets.

@paradoxinversion
Created July 1, 2020 05:27
Show Gist options
  • Save paradoxinversion/0d333385f97c2435f792ad8a22632ba3 to your computer and use it in GitHub Desktop.
Save paradoxinversion/0d333385f97c2435f792ad8a22632ba3 to your computer and use it in GitHub Desktop.
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