randomize periodically

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

View File

@ -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 () {