my interpretation of ASCII text based minesweeper written in C