Fix/Color Game missing icon crash, path resolution, scoring logic, and README (#472) - #473
Open
Prayas340 wants to merge 2 commits into
Open
Fix/Color Game missing icon crash, path resolution, scoring logic, and README (#472)#473Prayas340 wants to merge 2 commits into
Prayas340 wants to merge 2 commits into
Conversation
… logic, and add game restart
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Fixes #472
This PR fixes several bugs and improves the user experience and documentation in \Color_Game:
Resolves startup crash when \color_game_icon.ico\ is missing by adding existence checks and safe error handling.
Fixes relative file path resolution for \highest_score.txt\ using _file_-relative directory resolution.
Resolves the initial keypress evaluation bug where unprompted input was scored on game start.
Replaces secondary \ k.Tk()\ root instance in \scoreshow()\ with \messagebox.showinfo\ to avoid duplicate Tcl interpreter roots.
Adds an in-game restart button and replay flow so players can restart without relaunching the script.
Updates and expands \README.md\ following repository documentation guidelines.
Issue_no: [Color_Game] Fix missing icon crash, relative file path resolution, scoring logic, and add game restart #472
Type of change
Project
Your Project Name: Color Game
Short Description: Python Tkinter GUI game testing cognitive speed via the Stroop Effect with real-time scoring, countdown timer, and high score tracking.
Checklist: