I got stuck and need help in spin a wheel activity. Everything else is working fine but everytime I spin I should get unique selection of number means completed number should not be selected again. please help me guys. If this is possible through Javascript please provide code for this.
Are you still working on this? The key is to use variables to track things and JavaScript Arrays. Define your array based on variables representing the possible numbers. Use a trigger to change the value to once the number has been selected, filter the array to remove 0's, and then pull a random number from the remaining value set.
I did something similar here using cards instead of a wheel. Questions you get right are "removed" from the deck using the method I described above.
1 Reply
Are you still working on this? The key is to use variables to track things and JavaScript Arrays. Define your array based on variables representing the possible numbers. Use a trigger to change the value to once the number has been selected, filter the array to remove 0's, and then pull a random number from the remaining value set.
I did something similar here using cards instead of a wheel. Questions you get right are "removed" from the deck using the method I described above.
This discussion is closed. You can start a new discussion or contact Articulate Support.