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