pub fn try_char_to_color_dove(c: char) -> Option<(Color, Dove)>
Converts char to a pair of Color and Dove.
char
Color
Dove
The mapping rule is shown in the table below:
Red
Green
B
A
Y
M
T
H
It returns Some((Color, Dove)) when an appropreate pair is found, otherwise returns None.
Some((Color, Dove))
None