# snakes and ladders - what happens when you go up a ladder or down a snake?

Mar 20, 2019

Hello.

My question is not about the random number generator for dice in board games but about my piece position and my score.

When the dice goes to a random number, that number is added to the current total and moves to the relevant spot on the board game (see variables). Thus, if they currently have 3 and the dice roll gives them 6, their total is now 9.

However, if they land on, say, 17 (because their total is 17) they will slide back to 9 (see the gameboard attachment).  Their total is still 17 but they are at 9.  If they get another 6, they go to 23 instead of 15.

The question is: how do I resolve the conflict between the increasing total and the fact that the user might go back down the board?

Iffaf

###### 2 Replies

Seems you could add a trigger when variable = 17 assign the value of 9.

Hi.

I've finished making my snakes and ladders (yay) but the dice is spinning around really randomly and I'm not going up or down, based on which counter I'm on. Please help.