P1 uses the WAD keys to move and the S key to attack. P2 uses the arrow keys to move and the down arrow to attack. You can jump five times before hitting the ground. For a short time after you get hit, you can't move or attack.
Just a test project; don't expect anything good. This project pulls code from my 3d engine, with the camera zooming in and out depending on how far you are from the center.