I asked on SO but received nothing. Would I be more appropriate to ask this question here?

https://stackoverflow.com/questions/50615850/improve-movement-of-space-aliens

  • 1
    I think we already have a question that covers this situation. The basic idea is instead of having a named variable for each alien, instead you have a list or array of aliens, and you can check collisions against each item in the collection with a loop. If we can find the existing Q&A we'll share a link for you. – DMGregory Jun 1 at 19:52
  • @DMGregory Great! I'm looking for something like the original space invaders algorithm, that will do. – Niklas Rosencrantz Jun 1 at 20:00

You must log in to answer this question.

Browse other questions tagged .