An implementation of the cooperative card game Hanabi, winner of Spiel des Jahres 2013, in Clojure and ClojureScript for playing in the Browser. If you like the game please consider buying the physical version to support the original author. Additionally it is a kind of game that is quite a bit more fun to play face to face at a table. If you want to support me as well for the development of this version you can buy the game through the Amazon Affiliate Program: Normal Edition Deluxe Edition
You will need Leiningen 2.0.0 or above installed.
To compile the clojurescript and start a web server for the application, run:
lein start
The project uses cprop for configuration parsing. This means you have a number of options available for specifying configuration, for example editing the default configuration file under resources/config.edn
or by setting environment variables. For a detailed look on how cprop handles configuration please see the cprop documentation.
Any sort of constructive feedback is highly welcome. Just open an issue or pull request. I am especially looking for feedback on the frontend side, both UX/design wise, as well as comments on code.
This is work in progress. The core mechanics are all implemented, but currently the UI is horrible.
Some things which I plan to implement:
- animation (make player moves and effects more visually apparent, e.g. animate which card got played and where it ended up)
- reordering of cards in a hand
- support for advanced game modes including the multicolored cards
- display lost and win states
- delete finished games
- scoring and leaderboard
Copyright © 2016 sohalt