/haskell-simple-wordgame

Simple word game written in Haskell. Made from a new stack project with beginners in mind.

Primary LanguageHaskellBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

haskell-simple-wordgame

Made with stack new project

Run stack build, stack test and stack run to play the game!

Installation

These instructions are for Windows. Linux/Mac are similar/easier.

  1. Open an Administrative Powershell window.

  2. To install Chocolatey run Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')).

    02

  3. To install Haskell, run choco install haskell-dev and then refreshenv.

  4. To install stack download the installer here and run it, don't change any settings.

    04a

    04b

  5. Download the repository.

    05

  6. Extract it to C:\haskell-simple-wordgame-master.

    06

  7. In Powershell run cd C:\haskell-simple-wordgame-master then run stack build.

    07

  8. Run stack test.

    08

  9. Run stack run to play the game!

GAME IS STILL INCOMPLETE!

TODO: implement playHand and playGame.