aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--twiddle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/twiddle.c b/twiddle.c
index d67dc40..5209606 100644
--- a/twiddle.c
+++ b/twiddle.c
@@ -317,7 +317,7 @@ static char *new_game_seed(game_params *params, random_state *rs,
* and simply shuffle the grid by making a long sequence of
* randomly chosen moves.
*/
- total_moves = w*h*n*n*2;
+ total_moves = w*h*n*n*2 + random_upto(rs, 1);
for (i = 0; i < total_moves; i++) {
int x, y;