Function format_grid

Source
pub fn format_grid(board: &[[u8; 9]; 9]) -> Vec<String>
Expand description

Formats the Sudoku board into a grid representation.

This function takes a 9x9 Sudoku board and formats it into a grid with horizontal and vertical separators to visually distinguish the 3x3 boxes. Each cell is represented by its number, with empty cells shown as a dot (.).