X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/puzzles/blobdiff_plain/3101ae2613f66463bd4d3b1fe5a188df1aee3271..4b0cf9034e4e73a42d48326ec6f6fca3023a0661:/twiddle.c 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;