This game was implemented using haxe with the heaps game engine.
More detailed explanation on how to run
Rulebook