Added random start

before: no random_start, always start at (0, 0)
after: start randomly
This commit is contained in:
Valentin Moguérou 2021-11-03 23:54:54 +01:00
parent fabc2bcf86
commit 67547b7226

View File

@ -23,6 +23,7 @@
void simple_generation(int width)
{
grid *gd = init_grid(width);
random_start(gd);
refresh_grid(gd);
print_simple_grid(gd);