Skip to main content

A Shooter Game

Blocks move in a spiral fashion, keep them out of the green square.

Justin Ramos
Code demonstrating mathematical based motion.



Home Page


A Shooter Game 1 — 21 Jul, 2011 account Comments

  • Damon Na 2011-07-22 09:35:36


  • Yaşar Arabacı 2011-07-23 16:35:16

    Maybe more comments on the code?

  • Joseph 2011-07-25 02:35:47

    Neat! It's given me ideas. But one thing, when you have a list of bullets that the computer scans through with a for loop, it creates a tiny bug when you delete the item when it's still scanning. Because it deletes the item in the loop, the next item becomes the current item, and so when it finishes deleting it, it says 'ok, done' and goes to the next item, skipping the item after the one that got deleted. You can fix this easily by, instead of deleting it then and there, you could set it equal to None, or something, and then when it finishes the loop, you make it delete all the None items. That works, and it works nicely too.