thunderrabbit / conswi

A swipe game for Godot 3
GNU General Public License v3.0
4 stars 4 forks source link

If player is out of swipes, end the level #40

Closed thunderrabbit closed 2 years ago

thunderrabbit commented 4 years ago

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.

thunderrabbit commented 2 years ago

Perhaps use an algorithm from Minesweeper

thunderrabbit commented 2 years ago

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.

thunderrabbit commented 2 years ago

Duplicate #6