Enter a demo mode, generating lots of levels
This commit is contained in:
parent
508fd28f04
commit
04b580b22c
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user