Prevent invalid player moves