Use the arrow keys to control the black square. Avoid the bullets. Red bullets are fast but only move in one direction after being shot. Purple bullets don't move until you get close to them. Then, they will follow you slowly. Your score is shown on the top-left in seconds. Have fun!
Made for problem set 0 for CS50x. This is the first project I've made in a really, really long time. I hope you enjoy it! Feel free to remix and tweak the code!