I'm up to my last part of my assignment for uni, i thought i had done it all correctly until i found out i hadn't (i've never played minesweeper before ).. anywayz, i'm doing my function for "uncover".
Say if u uncover a blank square, this means all adjacent sqaures will be uncovered, and those adjacent squares with their adjcanet squares will be uncovered etc if blank, or something alone those lines. the thing is i'm having some trouble in starting it, cud someone help maybe explaing in some simple steps to help me get started.....
btw, the function called wud have something like
recuriveUncover(minefield[][], displayGrid[][], row, col, size)
where minefield is the array with all the information, and displayGrid is the info being revealed while playing the game.