Calculate a winner and game stats. Fix multiple appends to the leaderboard