Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tusharad/speed-typing-test-haskell
Terminal based speed typing game
https://github.com/tusharad/speed-typing-test-haskell
Last synced: 23 days ago
JSON representation
Terminal based speed typing game
- Host: GitHub
- URL: https://github.com/tusharad/speed-typing-test-haskell
- Owner: tusharad
- License: bsd-2-clause
- Created: 2024-05-21T09:47:22.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-05-21T09:57:58.000Z (8 months ago)
- Last Synced: 2024-05-21T13:50:46.753Z (8 months ago)
- Language: Haskell
- Size: 172 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
## Speed Typing Test in Haskell
This is a command-line game written in Haskell using the [Vty](https://hackage.haskell.org/package/vty-6.2) library. Users can select the timer duration and difficulty level. Once the game starts, words will appear on the screen for the user to type. The timer will count down, and the current typing speed in words per minute (WPM) will be displayed. The application utilizes concurrency and the State Transformer monad for managing game state.
## How to Run
1. **Ensure you have Cabal and GHC installed**:
- Install [Cabal](https://www.haskell.org/cabal/download.html)
- Install [GHC](https://www.haskell.org/ghc/download.html)2. **Clone the project**:
```sh
git clone https://github.com/tusharad/speed-typing-test-haskell
```3. **Build the project**:
```sh
cd speed-typing-test-haskell
cabal build
```4. **Run the project**:
```sh
cabal run
```## Screenshots
![Alt text](images/1.png "Timer image")
![Alt text](images/2.png "Difficulty image")
![Alt text](images/3.png "Typing image")
![Alt text](images/4.png "Game over image")_Project is still under development!_