An implementation of the cooperative card game Hanabi in Clojure and ClojureScript.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
resources
src
test/hanabi
.gitignore
LICENSE
README.md
adjs.txt
architecture.md
nouns.txt
project.clj
regle_en_hanabi.pdf

README.md

hanabi

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

Prerequisites

You will need Leiningen 2.0.0 or above installed.

Running

To compile the clojurescript and start a web server for the application, run:

lein start

Configuration

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.

Feedback

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.

WIP Notice

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

License

Copyright © 2016 sohalt