updated to calculate the player score automatically from achievements