You missed the :-
return symbols[wheelToUse][spinCount];
}
From that last code you posted.
The second spin does not start from the begining of the second row, rather it starts on the column following the stop position of the first spin, and likewise with the third spin.
Yes that is exactly what I said in reply #92. We are using the same variable for all three wheels. So what we need to do is to, like I said in that reply, have a different spin counter for each wheel.
So we change the
static int spinCount = 0;
to make it an array
static int spinCount [] = {0,0,0};
Now every time we use spinCount in that function we need to tell the computer which spinCount value to use by replacing spinCount with spinCount[wheelToUse] - note the error messages if you fail to change one of them.
See how using an array makes us able to use that whole spin function again without having to have three versions each having its own variable for the counter. I like to think of an array as a variable variable. That is a variable that can be different depending on the value of another variable ( the variable in the index ).