chore: start path is generated with more space
This commit is contained in:
parent
35559c69d6
commit
d2584af0ef
1 changed files with 1 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ void Generator::initialise_state() {
|
|||
print_line("Writing path");
|
||||
int y{ (Math::abs((int)Math::rand()) % (this->state->size.y - 6)) + 3 };
|
||||
print_line("Path at y =", y);
|
||||
for (int i{ 1 }; i < this->state->size.x - 1; ++i) {
|
||||
for (int i{ 1 }; i < this->state->size.x - 2; ++i) {
|
||||
this->state->set_at({ i, y }, Terminals::Path);
|
||||
}
|
||||
print_line("Writing start & goal");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue