board_from_string

Function board_from_string 

Source
pub fn board_from_string(s: &str, code_char_hash: &HashMap<char, u8>) -> IBoard
Expand description

Decodes string into board

§Arguments

  • s - string to decode
  • code_char_hash - hashmap of code characters

§Note

Relies on there being 64 characters in the board