package ppgame into class