I really like this idea! It kind of visually reminds me of Minesweeper, even though it's completely different gameplay.
The last level took a bit of thought. You should make more levels! And/or make a level editor where you draw a path with the mouse and it automatically creates the numbers depending on how many times your cursor crosses a square/cell.