Skip to content

Conversation

@GoldenLin9
Copy link

@GoldenLin9 GoldenLin9 commented Mar 14, 2025

What?
This PR closes #88. When a player got a question correct, it was hard to determine which card they chose and which was correct. The score screen is overreliant on color and should provide more visual cues. I now indicate the card the user picked and whether each card corresponds to the right or wrong answer beyond the use of just color.

How?
In ctl-scoreScreen.js, I added an attribute to the item object that indicates the direction of the correct card. Since all the correct cards are ordered on the left side, I know that if the user got the question right, the chosen card is on the left and if the question was wrong, the chosen card is on the right. Now in the HTML, I display the flag banner of the correct response by using the knowledge of which card was chosen. I also added text to indicate the correct and wrong cards beyond just color for color-blind users. Additionally, I added a check or X mark on the side of the question to easily tell which question was right or wrong. I also used the words "correct" and "incorrect" since those were the words used on the creator side as well.

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.

Text encoding issue– special characters rending as HTML entities in the score screen and when editing widget again

1 participant