Create method for determining the list of moves

We'll re-use this to figure out if a player cannot make a move so we're
forced to change the turn to the other player.