Use the a and d keys to move the red pirate and use f to attack and use the arrow keys to move the blue pirate and use m to attack.