use wasd or the arrow keys to move the gun will follow your mouse, click with the mouse or press space to shoot
I had the idea and created all the code by myself (note the map is a little broken)