updates score as the user plays
fixing merge conflict