Skip to content

Added a Bug Fix Summary #5260

Open
praptigawande2812 wants to merge 4 commits into
kunjgit:mainfrom
praptigawande2812:bugtracking
Open

Added a Bug Fix Summary #5260
praptigawande2812 wants to merge 4 commits into
kunjgit:mainfrom
praptigawande2812:bugtracking

Conversation

@praptigawande2812

Copy link
Copy Markdown

Title: Fix: Dark mode toggle, search filter, and game reset bugs (Candy Crush, Tetris, Pac-Man)
📋 Summary
This PR fixes 5 bugs found across the GameZone site and a few individual games — covering the theme toggle, search functionality, and game reset/restart logic in Candy Crush, Tetris, and Pac-Man.

Bugs Fixed

Dark/Light mode toggle not working — Fixed event listener binding and localStorage persistence for theme state.
Search bar not filtering games — Fixed stale DOM reference / re-query logic so the search input correctly filters rendered game cards.
Candy Crush shows non-zero score on load — Score no longer increments during the initial board-fill/match-check pass; now correctly starts at 0.
Tetris "Start New Game" button non-functional — Fixed reset handler; game loop interval is now properly cleared and restarted.
Pac-Man restart triggers full page reload — Replaced location.reload() with an in-memory resetGame() function that reinitializes board, score, lives, and entity positions without reloading the page.

@kunjgit

kunjgit commented Jul 7, 2026

Copy link
Copy Markdown
Owner

Thank you @praptigawande2812 ,for creating the PR and contributing to our GameZone 💗
Review team will review the PR and will reach out to you soon! 😇
Make sure that you have marked all the tasks that you are done with ✅.
Thank you for your patience! 😀

Updated priority and component information for several bug reports in the GameZone documentation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants