Added random start
before: no random_start, always start at (0, 0) after: start randomly
This commit is contained in:
parent
fabc2bcf86
commit
67547b7226
@ -23,6 +23,7 @@
|
|||||||
void simple_generation(int width)
|
void simple_generation(int width)
|
||||||
{
|
{
|
||||||
grid *gd = init_grid(width);
|
grid *gd = init_grid(width);
|
||||||
|
random_start(gd);
|
||||||
refresh_grid(gd);
|
refresh_grid(gd);
|
||||||
|
|
||||||
print_simple_grid(gd);
|
print_simple_grid(gd);
|
||||||
|
Loading…
Reference in New Issue
Block a user