An attempt to implement some RPG ideas in C++