add score counter for player and ai