codewithfourtix / codewithfourtix/candyCrush

Back Button Not Functioning After Game Win/Loss in Candy Crush SFML

Open
#1 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
C++
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

When a player either wins or loses a game in the Candy Crush SFML project, the back button becomes unresponsive and does not navigate to the previous screen or perform its intended functionality. This issue affects the overall user experience as players are unable to exit the win/loss screen properly.

**Steps to Reproduce:**

1. Launch the Candy Crush game.
2. Play the game until the player either wins or loses.
3. Try to click the back button on the win/loss screen.

**Expected Behavior:**

1. The back button should navigate the user to the previous screen or the main menu.

**Actual Behavior:**

1. Clicking the back button has no effect; the game remains stuck on the win/loss screen.

**Environment:**

1. SFML Version: (e.g., 2.5.1)
2. IDE: (e.g., Visual Studio)

**Additional Context:**

1. The back button works correctly in other parts of the game (e.g., during gameplay or in the main menu).
2. The issue might be related to how event handling is implemented on the win/loss screen.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.