I have a minelist[0,15] for a board 4 height and 4 width every elemnt in the board is a zero so it looks like [['0','0','0', '0'],['0','0','0', '0'],['0','0','0', '0'],['0','0','0','0']]now if I mines X in 0,15 it would look like [['x','0','0', '0'],['0','0','0', '0'],['0','0','0', '0'],['0','0','0','x']] now whereever the mines are touching it is incremented by one using a counter the final board looks like [['x','1','0', '0'],['1','1','0', '0'],['0','0','1', '1'],['0','0','1','x']]
I created the board of zeros but I have no idea to how to put the mines and get the final board please coul i get any suggestions or help.
Thank you