Refactored computer move choice.