tjkuson / ScalaWordle

A simple word game written in Scala 3.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wordle in Scala

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.

Game features

  • 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

Language features

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.

Licence

This project is released under the terms of the MIT licence.

The word list is from Tab Atkins Jr.

About

A simple word game written in Scala 3.

License:MIT License


Languages

Language:Scala 100.0%