/// <summary> /// Prompts the user to select a map size. /// </summary> /// <param name="builder"></param> public static void GetMapSize(IGameOptionsBuilder builder) { int choice; do { Console.WriteLine("Choose the map size: "); Console.WriteLine("1. Large"); Console.WriteLine("2. Medium"); Console.WriteLine("3. Small"); choice = ReadChoice(); } while (choice < 1 || 3 < choice); builder.SetMapSize(EnumMapper.GetMapSize(choice)); }