Refactor games#statistics