Closed cbonesteel closed 3 years ago
https://github.com/cbonesteel/c-minesweeper/blob/de9d85e653a9a6babaf54617eec27510ef8d551f/src/board/board.c#L206-L217 This function appears to not replace the '*' character with the appropriate number of adjacent mines. This causes nothing to print when the board is printed.
https://github.com/cbonesteel/c-minesweeper/blob/307f86ca399f3d61607878014ca1c54e151339b9/src/board/board.c#L208 Adding + '0' fixed the issue between ASCII code and making it an actual char.
https://github.com/cbonesteel/c-minesweeper/blob/de9d85e653a9a6babaf54617eec27510ef8d551f/src/board/board.c#L206-L217 This function appears to not replace the '*' character with the appropriate number of adjacent mines. This causes nothing to print when the board is printed.