The opration james though about is just modulo. You can use modulo to wrap around. Be carful if you have to go back before square #1 because modulo of negative numbers often give negative numbers (what is completely illogical in a mathematical point of view, but so it is)
Also be careful with dice: throwing a single random number between 2 and 12 isn't the same as throwing two random number between 1 and 6 and suming them up. Each number isn't equally probable when using two dice.
** To leave the list, click on the immediately-following link:- ** [mailto:program-l-request@xxxxxxxxxxxxx?subject=unsubscribe] ** If this link doesn't work then send a message to: ** program-l-request@xxxxxxxxxxxxx ** and in the Subject line type ** unsubscribe ** For other list commands such as vacation mode, click on the ** immediately-following link:- ** [mailto:program-l-request@xxxxxxxxxxxxx?subject=faq] ** or send a message, to ** program-l-request@xxxxxxxxxxxxx with the Subject:- faq