This is Wordle written in Scala 3.
Its main purpose is to demonstrate Scala 3 and functional programming for beginners to either. Feel free to open an issue or pull request if you have any suggestions.
- Ask for a guess until the word is guessed, the user quits, or the game is over
- Check if the guess is in the word list
- Print the result of the guess
Programming Wordle is a good way to demonstrate core language features of Scala 3 and functional programming.
For example,
Note: this project uses Scala 3 and is not compatible with Scala 2. At this level, the main difference is the syntax (code now reads more like Python and Ruby). For more information, see New in Scala 3.
This project is released under the terms of the MIT licence.
The word list is from Tab Atkins Jr.