score and change turn function