/// <summary> /// Prompts the user to choose a tile style. /// </summary> /// <param name="builder"></param> public static void GetTileStyle(IGameOptionsBuilder builder) { int choice; do { Console.WriteLine("*--- Map Style ---*"); Console.WriteLine("1. Square brackets - [ ]"); Console.WriteLine("2. Parentheses - ( )"); Console.WriteLine("3. Curly braces - { }"); Console.Write("Choose the map style: "); choice = ReadChoice(); } while (choice < 1 || 3 < choice); builder.SetTileStyle(EnumMapper.GetTileStyle(choice)); }