randomize periodically
This commit is contained in:
parent
e2e144e6ea
commit
5e477fc76b
12
index.js
12
index.js
@ -97,14 +97,18 @@ function randomizeaux(){
|
||||
}
|
||||
}
|
||||
|
||||
function randomizeall(){
|
||||
randomizetable();
|
||||
writegrid();
|
||||
randomizeaux();
|
||||
writeauxgrid();
|
||||
}
|
||||
|
||||
function main() {
|
||||
inittable();
|
||||
initauxtable();
|
||||
if (randomize) {
|
||||
randomizetable();
|
||||
writegrid();
|
||||
randomizeaux();
|
||||
writeauxgrid();
|
||||
setInterval(randomizeall, 100);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user