genMoves, calcDistance, evalOptions framework