Use the W A S D keys to move the green square. And use the up down left and right arows to move the red square. 1 to attack with the green square. And 0 to attack with the red square. Also, don't touch the wall or else your aponent will automatically win.
This is my 7th very first game.