Who said you can't have fun on a terminal?
Let's play WORDLE then!
The repo comes with a static word to be guessed but you can implement your own source! Just implement the Storage interface and you are done!
type Storage interface {
GetWord() string
}
You wanna render it differently or you wanna create different implementaions for different terminals? Implement your own Renderer
type Renderer interface {
Render(*game.Game)
Print(string)
}
The project is written in golang 1.20
To run the app use the command
make run
to build the binary
make build
to run the tests
make test