We'd like you to implement the game of Wordle.
When a game of Wordle begins, a 5-letter word is chosen at random from a list of words.
The player must try to guess the word by entering a five-letter word.
After each guess, letters are marked as follows:
- π© = correct letter, correct position
- π¨ = correct letter, wrong position
- β¬ = letter not in word
Example:
- Word: CODER
- Guess: ULCER
- Result: β¬β¬π¨π©π©
Example:
- Word: CODER
- Guess: CODER
- Result: π©π©π©π©π© (game won)
A player wins the game if they correctly guess the word within six attempts.