game test of rpg in c++