diff unplayed and  played game function