The haverer package

[ Tags: apache, game, library, program ] [ Propose Tags ]

Implementation of the rules of Love Letter

[Skip to Readme]


Change log
Dependencies base (==4.8.*), basic-prelude (>=0.4.1 && <0.5), containers, errors (>=1.4.7 && <1.5), haverer, lens (>=4.7), MonadRandom, mtl (==2.2.*), random-shuffle, tasty (>=0.7), tasty-quickcheck, text (==1.2.*) [details]
License Apache-2.0
Copyright Jonathan M. Lange
Author Jonathan M. Lange <>
Category Game
Source repository head: git clone
Uploaded Mon Jun 8 21:49:58 UTC 2015 by jml
Distributions NixOS:
Executables haverer
Downloads 464 total (81 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2015-09-29 [all 3 reports]
Hackage Matrix CI




Maintainer's Corner

For package maintainers and hackage trustees

Readme for haverer-

[back to package description]


Haverer is a simple implementation of the excellent card game, Love Letter.

It follows the original Japanese rules, rather than the newer American ones.


At the moment, you'll need to compile from source, which means you'll need to get set up with cabal. The easiest way to do this is to install the Haskell Platform.

Once you've done that, run the following commands:

$ git clone
$ cd haverer
$ cabal sandbox init
$ cabal configure
$ cabal install --dependencies-only
$ cabal run

That last command, cabal run, will run a command-line version of the game.


This code is copyright Jonathan M. Lange, 2014-2015, and is made available under the Apache License, version 2.0. See LICENSE for details.


  1. Procrastinate endlessly learning new Haskell tricks
  2. Wrap this whole thing in an API server
  3. Make that server available to the public
  4. Put a nice-ish web frontend in front


Please file issues on the Github issue tracker


Are most welcome.


The original implementation of this game is called loveletter and is written in Rust.


Thanks to the following people, who have helped with advice, kindness, or by patiently smiling and nodding while I've rambled on about this project:

  • metagnome
  • RAOF
  • @mithrandi
  • pjdelport
  • tomprince
  • radix
  • teh
  • simpson
  • joliette

Any infelicities are my own.

If you are one of these people and would like to be referred to in another way (perhaps you'd like me to link to your Github page?), please contact me. You know how.