Closed thunderrabbit closed 2 years ago
Perhaps use an algorithm from Minesweeper
Simple solution for this is to ask each piece if it has any same-colored neighbors. If any piece has two or more same colored neighbors, then a swipe exists.
Duplicate #6
If user cannot swipe anything else on the board, but has not completed the required swipes, end the level.
Cheap and easy: maybe if there are 0 pieces in the queue and no swipe for a while, we can pop up a "Give Up" button.