add statistic to the ended game