The first step will be to look up the rules of minesweeper to properly put them into the AI program. I will then focus on getting the aspect checking right and ensuring it will continue until a loss or a win. Then check how it plays with the current set up and focus on perfecting the logic of where a mine should or should not be. Such as when it receives a 2 the square is touching 2 mines so caution must be taken. A lot of the process will be double checking the rules of minesweeper and attempting to perfect the logic of the AI.