Nice Game, very interessting mechanik I would suggest putting this kind of "Game" into some bigger frame _> like use it in a Zelda like Dungeon -> very nice, very easy to understand - I think you did amazing!
Changes or Ideas by me:
Maybe a smoother transition between TileTypeA->TileTypeB.
Maybe a Hint System where you get some clues if you fail severall times.
Maybe there are "people" in the trench you have to save ? (GodGame style)
Maybe you could make the Light System Poppin the visuals ?
If you build it up like a "card game" you collect new Tiles to place from one map to the next?
Got me thinkin good! Nice work!