Player Combat Game
The Controls:
Player1 (left) is controlled by the w,a,s,d keys for movement, and shoots using the ‘c’ key. If player 1 touches the top of the scene the character is teleported randomly to the bottom of the game. Health is displayed in the top left corner.
Player2 (right) is controlled by the arrow keys for movement, and shoots using the ‘L’ key. If player 1 touches the bottom of the scene the character is teleported randomly to the top of the game. Health is displayed in the top right corner.
First person to hit their opponent 10 times wins. A ‘You Win!’ message will appear. Click 'restart' to restart the game.