Add function for scoring final game state