This is a small basis for an ASCII RPG, in C.