이름 | 설명 |
---|---|
RowMajorFileSerializer | An implementation of the IMinesweeperSerializer interface. IMinefields are loaded from a file path. Each line in the file contains a unique minefield. Minefields are in the following format: row,col;data row = number of rows in the minefield matrix col = number of columns in the minefield matrix data = a list of '*' and '.' characters. '*' indicates a mine cell, '.' indicates a clear cell. Cells are sorted in row major order. |