fixed a bug where the AI was always allowed to move a ship regardless of the rules