Function advent_of_code_2021::day_23::parse_letter [−][src]
Expand description
Turn a letter in the ascii-art into the number we use to represent it internally
- 0 - Empty
- 1 - Amber
- 2 - Bronze
- 3 - Copper
- 4 - Desert
Turn a letter in the ascii-art into the number we use to represent it internally