Up and down arrow keys to move. Space is to shoot. If no ammo is left, press R to reload. The goal is to try to survive as long as possible, while zombies are trying to get to you. If they touch the wall, you lose health, and it’s game over once you lose all your health.
Credit to @charlie_ter for helping me with this project. I’m hoping for a platformer to be my next project, but I won’t guarantee it. Let me know if you find any bugs. Also, credit to @Jbear_ for the character sprite, and some of the coding.