Light Mode
Dark Mode
Test case that doesn't work

It seems that most methods that people came up with do not satisfy the following test case:

field = [[0, 1, -1, 1, 0, 0, 0, 0, 0, 0],
         [0, 2, -1, 2, 0, 0, 0, 0, 0, 0],
         [0, 2, -1, 2, 0, 0, 0, 0, 0, 0],
         [0, 2, -1, 2, 0, 0, 0, 0, 0, 0],
         [0, 2, -1, 2, 0, 0, 0, 0, 0, 0],
         [0, 2, -1, 2, 0, 0, 0, 0, 0, 0],
         [0, 2, -1, 2, 0, 0, 0, 0, 0, 0],
         [0, 2, -1, 2, 0, 0, 0, 0, 0, 0],
         [0, 2, -1, 2, 0, 0, 0, 0, 0, 0],
         [0, 1, -1, 1, 0, 0, 0, 0, 0, 0]]

This minesweeper grid has a unique solution. Any thoughts?

Created: Nov. 23, 2015, 3:16 p.m.
Updated: Feb. 6, 2016, 6:15 p.m.
1
15
User avatar
slevvio_8409ee3847064def837dc7