An open API service indexing awesome lists of open source software.

https://github.com/spamegg1/haskell-simple-wordgame

Simple word game written in Haskell. Made from a new stack project with beginners in mind.
https://github.com/spamegg1/haskell-simple-wordgame

beginner-project haskell haskell-learning haskell-stack

Last synced: about 1 year ago
JSON representation

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

Awesome Lists containing this project

README

          

# 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](https://chocolatey.org/install#install-step2) 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](images/02.png)

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

4. To install `stack` download the installer [here](https://docs.haskellstack.org/en/stable/install_and_upgrade/#windows) and run it, don't change any settings.

![04a](images/04a.png)

![04b](images/04b.png)

5. Download the repository.

![05](images/05.png)

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

![06](images/06.png)

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

![07](images/07.png)

8. Run `stack test`.

![08](images/08.png)

9. Run `stack run` to play the game!

GAME IS STILL INCOMPLETE!

TODO: implement `playHand` and `playGame`.