Fix.
This commit is contained in:
parent
93d3a20e06
commit
1b803e241b
|
@ -178,7 +178,7 @@ def generate_simple_unsolved_solvable_extra(width, height, nturns, nstones):
|
|||
of the direction object not returned by that function. You probably want to
|
||||
use this in your game.
|
||||
"""
|
||||
playfield, steps, directions = generate_simple_unsolved_solvable(
|
||||
playfield, steps, directions = generate_simple_unsolved_solvable_playfield(
|
||||
width, height, nturns, nstones)
|
||||
missing_dir = list(all_directions - set(directions))[0]
|
||||
return playfield, steps, directions + [missing_dir] * (len(directions) / 3)
|
||||
|
|
Loading…
Reference in New Issue