randomize periodically
This commit is contained in:
12
index.js
12
index.js
@ -97,15 +97,19 @@ function randomizeaux(){
|
||||
}
|
||||
}
|
||||
|
||||
function main() {
|
||||
inittable();
|
||||
initauxtable();
|
||||
if (randomize) {
|
||||
function randomizeall(){
|
||||
randomizetable();
|
||||
writegrid();
|
||||
randomizeaux();
|
||||
writeauxgrid();
|
||||
}
|
||||
|
||||
function main() {
|
||||
inittable();
|
||||
initauxtable();
|
||||
if (randomize) {
|
||||
setInterval(randomizeall, 100);
|
||||
}
|
||||
}
|
||||
|
||||
$(function () {
|
||||
|
Reference in New Issue
Block a user