added shoot function to client side and made some modifications to rotate