thock: A modern TUI typing game featuring online racing against friends.

[ game, library, mit, program ] [ Propose Tags ]

Please see the README on GitHub at https://github.com/rmehri01/thock#readme


[Skip to Readme]

Modules

  • Client
  • Online
  • Quotes
  • Server
  • Thock
  • UI
    • UI.Attributes
    • UI.Common
    • UI.Offline
    • UI.Online

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.2.0.0, 0.2.1.0
Change log ChangeLog.md
Dependencies aeson (>=1.4.7.1 && <1.5), base (>=4.7 && <5), brick (>=0.52.1 && <0.53), containers (>=0.6.2.1 && <0.7), file-embed (>=0.0.11.2 && <0.1), lens (>=4.18.1 && <4.19), mtl (>=2.2.2 && <2.3), network (>=3.1.1.1 && <3.2), random (>=1.1 && <1.2), text (>=1.2.3.0 && <1.3), text-zipper (>=0.10.1 && <0.11), thock, time (>=1.9.3 && <1.10), vector (>=0.12.1.2 && <0.13), vty (>=5.28.2 && <5.29), websockets (>=0.12.7.1 && <0.13) [details]
License MIT
Copyright Copyright (c) 2020 Ryan Mehri
Author Ryan Mehri
Maintainer ryan.mehri1@gmail.com
Category Game
Home page https://github.com/rmehri01/thock#readme
Bug tracker https://github.com/rmehri01/thock/issues
Source repo head: git clone https://github.com/rmehri01/thock
Uploaded by rmehri01 at 2021-01-15T20:32:53Z
Distributions
Executables thock, server
Downloads 215 total (7 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2021-01-15 [all 2 reports]

Readme for thock-0.2.1.0

[back to package description]

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

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.