Hackney
User Story. https://www.figma.com/file/BcbOSP4vvp3JpZpBix33hw/Wordle.?type=whiteboard&node-id=0%3A1&t=oGpSIQdqWTCTYFQ0-1
pseudocode. Start by picking a secret word. Let's say it's "WORLD". You have several tries to guess this word. When you guess, type a word into the box and hit submit. If you don't type anything or if what you type isn't 5 letters long, I'll ask you to try again. As you guess, I'll tell you if any letters are correct and if they're in the right position.
If you get a letter right and in the right position, I'll show it as correct. If a letter is right but in the wrong spot, I'll let you know. If a letter isn't in the word at all, I'll mark it as incorrect. all of which would append the letter of the word into the grid.
Each time you guess, we'll move to the next line to keep track. and clear the next field. iterating through the game.
If you get all the letters in the right order, you win!. the game would stop functioning once the alert appears. like wise if you fail to get the answer. But if you run out of tries and haven't guessed it, I'll tell you the word and encourage you to try again tomorrow.