Display scores for correct/incorrect answers.
Review Request #123344 - Created April 12, 2015 and submitted
For every correct/incorrect answer that the user enters, a corresponding count is maintained and is displayed in top left corner. A solution is considered to be correct if it matches with the word in the puzzle, and it is considered to be incorrect if the user fails to get the correct answer after having tried all the 10 wrong guesses. If he choses to try the next puzzle without finishing the current one then it is not considered to be a wrong solution.
Builds and runs fine.
Looks good to me. I would change 2 things before shipping though.
- Remove the commented out console.log() lines from the qml.
- Change the wins/losses in the qml ui to i18n("Wins:") and i18n("Losses:") rather than those icons to make it more obvious what they represent.