Play Wordle on the command line.
Thanks to Josh Wardle for creating the original game: https://www.powerlanguage.co.uk/wordle/
A docker image is available on Docker Hub. If you have Docker installed run:
$ docker run -it jakesco/wordle-hs
The Releases page provides pre-compiled binaries for Windows 64-bit systems. Simply copy the desired binary into your path and run it (after verifying the checksum).
Windows command prompt doesn't support ANSI escape sequences used to color the Wordle.hs output. Use Windows Terminal for the best expierience.
The recommend installation method is using cabal-install
. Most linux distribuitons have cabal
and ghc
available in the official repositories. Alternatively you can install them on any platform using ghcup.
This project requires GHC 8.10
.
Build with cabal-install
:
$ cabal update
$ cabal build
Then you can run from the project directory with:
$ cabal run
or install the executable.
$ cabal install
$ wordlehs
The default install target for
cabal install
is~/.cabal/bin
. Make sure thewordlehs
executable is on your path.