For Careq2005. A random number [1..3] is picked, then the corresponding variable [1..3] is incremented. If a variable becomes much larger than the others, its sprite will move further to the right. So if the variables are vertically aligned, the numbers are random.