Browse Source

Added random start

before: no random_start, always start at (0, 0)
after: start randomly
master
Valentin Moguérou 3 years ago
parent
commit
67547b7226
  1. 1
      src/simplegen.c

1
src/simplegen.c

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

Loading…
Cancel
Save