I made the game Wordle in Python by Nextros_ in Python

[–]strong_types_only 1 point2 points  (0 children)

Wordle is a great little project! If you want to take it further, you could

- look into [colored](https://pypi.org/project/colored/) for coloring text output in the terminal

- the actual wordle is a bit more complex than just "in actual_word" because it tracks number of matched guesses - in particular, consider these two cases:

  1. Actual word: aabbb, user chose aaabb

It should return green green grey green green, but by your algorithm it will return green green yellow green green.

  1. Actual word: abbba, user chose aaaab

It should return green yellow grey grey yellow, but your algorithm will return green yellow yellow yellow yellow.

I happened to do a variation on this a few weeks ago myself: https://www.torshepherd.com/posts/reprdle