Use arrow keys to move. Aim with the mouse pointer and tap the space bar when you want to shoot. If you want the bullet to go back to the robot tap the space bar until it touches the mouse pointer. Then shoot again.