Skip to content

Instantly share code, notes, and snippets.

@sebastiandeutsch
Created July 15, 2013 18:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sebastiandeutsch/6002323 to your computer and use it in GitHub Desktop.
Save sebastiandeutsch/6002323 to your computer and use it in GitHub Desktop.
for roid in asteroids
for roid2 in asteroids when roid isnt roid2
roid.explode() if roid.overlaps roid2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment