A Clojure library designed to make rpg-style stat bars, using clansi for coloring. There may be color correction issues when using different colorized terminals.
You want pretty, colored, terminal-outputted stat bars for your rogue-like game? Try this...
Leiningen users add this to your :dependencies in project.clj
:
[colorbars-clj "0.2.0-SNAPHOT"]
then use like this:
(use 'colorbars-clj)
(def hp 9) ;; verbose for example
(def mhp 10)
(def width 20)
(hp-bar hp mhp width)
see intro for more
suggestions welcome!
Copyright © 2013 Patrick Ryan - phiat
Distributed under the Eclipse Public License, the same as Clojure.