
I worked on my word-guessing game again today. I created a database of 999 five-letter words and when the game starts a PHP script will choose a random word. I’ll prevent repeat words by keeping a list of used words, or perhaps the word IDs from the database.
I plan to change the page’s color scheme and center the word input using CSS. With Wordle as inspiration, I plan to split the answer word into characters that the user’s word can check against. I’ll also make the answer word uppercase, and list the user’s words much as Wordle does.
