Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 1.53 KB

README.md

File metadata and controls

33 lines (22 loc) · 1.53 KB

thock

GitHub Actions Status Hackage

An example of an online game

Installation

Binary

Right now there are only binaries for Ubuntu and macOS under releases. Unfortunately there is no support for Windows but the Ubuntu binary will still work in WSL.

To use the binary you will have to put it on your PATH and may have to change permissions using chmod or allowing it in system preferences.

From Source

git clone https://github.com/rmehri01/thock.git
cd thock
stack install thock

Usage

English/Haskell Russian Description Game State
Esc Esc go back Any
^r retry Practice
^n / Enter ^т / Enter next quote Practice
r к signal your readiness Online game waiting room

Credit

The terminal UI is made using the amazing brick library and the online functionality was done using websockets. I also took a great amount of inspiration from other great projects such as hascard, monkeytype, and gotta-go-fast.