jakesco/wordle-hs

Command line version of Wordle.

Haskell

58

40 commits

updated Feb 25, 2022

See the code

README

Wordle.hs

Play Wordle on the command line.

Thanks to Josh Wardle for creating the original game: https://www.powerlanguage.co.uk/wordle/

wordls-hs-demo

Docker Image

A docker image is available on Docker Hub. If you have Docker installed run:

$ docker run -it jakesco/wordle-hs

Pre-compiled Binaries

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.

Manual Install

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 the wordlehs executable is on your path.

Contributors

jakesco

38 commits

hsyl20

1 commits

MatrixMike

1 commits

jakesco/wordle-hs

Command line version of Wordle.

Haskell

58

40 commits

updated Feb 25, 2022

See the code

README

Wordle.hs

Play Wordle on the command line.

Thanks to Josh Wardle for creating the original game: https://www.powerlanguage.co.uk/wordle/

wordls-hs-demo

Docker Image

A docker image is available on Docker Hub. If you have Docker installed run:

$ docker run -it jakesco/wordle-hs

Pre-compiled Binaries

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.

Manual Install

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 the wordlehs executable is on your path.

Contributors

jakesco

38 commits

hsyl20

1 commits

MatrixMike

1 commits

Languages

Haskell

93.9%

Dockerfile

6.1%