I had a great deal of difficulty working out how to use arrays to generate a set of unique Times Table questions.
i.e., I wanted
6 x 2
3 x 2
5 x 8
7 x 9
But if 3 x 2 came up again it had to be discarded and different equation generated.
I have solved my problem and I thought I would post a commented capx in case some one has a similar issue in the future.
Also I am quite keen to post to see if I could have done this more efficiently. For example, I am not so happy that I need to use global variables.
Develop games in your browser. Powerful, performant & highly capable.