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.
- Host: GitHub
- URL: https://github.com/spamegg1/haskell-simple-wordgame
- Owner: spamegg1
- License: bsd-3-clause
- Created: 2021-08-03T07:58:56.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-12-04T17:46:42.000Z (over 4 years ago)
- Last Synced: 2025-01-21T18:50:34.020Z (over 1 year ago)
- Topics: beginner-project, haskell, haskell-learning, haskell-stack
- Language: Haskell
- Homepage:
- Size: 902 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: ChangeLog.md
- License: LICENSE
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'))`.

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.


5. Download the repository.

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

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

8. Run `stack test`.

9. Run `stack run` to play the game!
GAME IS STILL INCOMPLETE!
TODO: implement `playHand` and `playGame`.