Use your mouse to move. If player one is open, click it because player two does not work unless someone is on player one. Press a to show who you are playing against and a again to hide it.
This is a working multiplayer pong game. If no spots are open, click the green flag and wait 3 seconds, if none are showing that means someone is playing. Update 1: Made the ball bounce against the edges and paddles better. Update 2: Made it so you can see who you are playing against.