roguelike utility library in c