Use the arrow keys and the mouse to move and click to shoot. Sorry if there is some bugs!
Thanks to griffpatch for the tutorial! (I did change a bit of the coding though)