Enter a demo mode, generating lots of levels

This commit is contained in:
Pyrex 2023-09-19 21:13:31 -07:00
parent 508fd28f04
commit 04b580b22c

View File

@ -26,8 +26,11 @@ void main() async {
at(0, 0).clear(); at(0, 0).clear();
at(0, 0).puts("Loaded! $vaults"); at(0, 0).puts("Loaded! $vaults");
int seed = 0;
while (true) {
Vault output = vaults.generateBoxed( Vault output = vaults.generateBoxed(
math.Random(2), math.Random(seed),
Requirement( Requirement(
16, 16,
16, 16,
@ -54,6 +57,9 @@ void main() async {
} }
} }
} }
seed += 1;
await zzz(0.1);
}
} }
/* /*
void main() async { void main() async {