change the logic of game model