codewithfourtix / codewithfourtix/candyCrush
Board Not Shuffling When No Possible Matches Are Available in Candy Crush
- Dominant language
- C++
- Stars
- 1
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
The board does not shuffle when there are no possible matches available, even though the logic for shuffling has been implemented. This causes the game to get stuck, and players cannot proceed until new possible matches appear. The game should automatically shuffle the board when no matches are possible, ensuring continuous gameplay.
Steps to Reproduce:
Launch the Candy Crush game.
Play the game until no possible matches are available (i.e., all possible moves are blocked).
Observe that the board does not shuffle to create new potential matches.
Expected Behavior:
When no possible matches are available, the board should automatically shuffle to generate new possible matches for the player.
Actual Behavior:
The board does not shuffle when no matches are available, leaving the game in a state where no further moves can be made.
Environment:
SFML Version: (e.g., 2.5.1)
IDE: (e.g., Visual Studio)
Additional Context:
The logic for shuffling has been implemented, but it is not being triggered when no possible moves are available.
Reviewing the trigger conditions and shuffle logic may be necessary.

Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.