mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-21 08:01:30 -07:00
Enforce more than one dot in Galaxies puzzles.
At minimum size (3x3) Galaxies can generate a pre-solved single dot game. You have to add and remove a line to get the victory flash which is a bit weird, so just prevent this.
This commit is contained in:

committed by
Simon Tatham

parent
ba9e0d586e
commit
f9027226a0
@ -1301,6 +1301,8 @@ generate:
|
||||
|
||||
game_update_dots(state);
|
||||
|
||||
if (state->ndots == 1) goto generate;
|
||||
|
||||
#ifdef DEBUGGING
|
||||
{
|
||||
char *tmp = encode_game(state);
|
||||
|
Reference in New Issue
Block a user