If you press W, sprite will start running. If you press space, sprite will jump. If you press E, the gun will be set. If you click, the gun will shoot.