Writing more robust chooseMove()

Trying to write it with some future proofing.