Using Variables in games
Oct 31, 2018
Hi community, I have created a game using a dice and moving a counter a number of places depending on the result of the dice shake.
This works well for 1 player and 1 counter but I am having problems when I want to have a second player.
The counters have 41 states to represent the starting position and a different state for each of the moves, 1 - 40.
I would like to use a variable so I can keep track of each counter's state and place the counter depending on the variable that changes with each dice roll.
The problem is, how to I change the State to a Variable instead of a number?