add
function is similar to the set
function, but increments values. You can use it to add a number to an existing value, or substract by adding a negative number.counter
variable, then effectively put the player in a loop where they can increase the counter up to 10 times until they have a new choice to move on.