Simple text-based rpg in C