Kill the red squares before your battery runs out. Use the arrow keys to move, the space bar to shoot, and press R to reload.

This game was made in JavaScript for a 2-week challenge under the theme "battery".