player_stats: Refactor some code for categorizing games
player_stats: Refactor some code for categorizing games

Lines were getting long and there were too many vars being created.

petertseng/resistance-log-parser