Well, that's obvious.
You saw this in the script.
var arr1 =[1,2,3,4,5,6,7,8,9,10,11,12,13,14
,...,210,211,212,213,214,215,216];
Here you have to add the missing values.
Okay, in the attached example I inserted the values 1-100. The rest is up to you.
BUT:
As I said before, the display of your grid takes a long time.
about 6 seconds to calculate the random values, then the entire grid is displayed, and 50 seconds to display the correct grid (only six questions)
So I do not understand why you do not use the first solution
Therefore I added a small example about that (2 out of 10)
Joffm