Refactored computer moves