/// <summary> /// Prompts the player for input to create a move. /// </summary> /// <returns>A move for the player to make</returns> public void DoMove() { // Keep trying to get a valid move while (true) { try { var move = GetMove(); _larva.Move(move); break; } catch (InvalidMoveException) { } } }