add function game score