randomize periodically

This commit is contained in:
Bruno Rybársky 2022-01-16 18:51:14 +01:00
parent e2e144e6ea
commit 5e477fc76b

@ -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);
}
}