function to update player current score to localstore

function should be called when a restore-point for the player should be
made, the parameter is the current score of the player at this point