Open dtdoris opened 4 months ago
For this function, we could use some AI chatbot API. And so, for instance, if the correct Wordle solution is "apple", the AI chatbot might provide some messages like "Do you want some food?" when the user click the "hint" button for the first time; and after the user clicks the "hint" buttons for more and more times, the hint messages should be more and more closely related to that correct Wordle solution; for instance, after clicking 10 times "hint" buttons, the AI generated hint message might be "What is that thing hit Newton's head?"
One of the future enhancements is, we could set a "hint" button, and if the user stays at the play-game view page for more than 3 minutes but not finishes the game, the "hint" button would convert from grey to colorful (and so it could be clicked). After the user choose to click the "hint" button, there should be some proper hints for the user to solve the Wordle puzzle.