This commit is contained in:
Niels Serup committed 2012-08-08 19:29:45 +02:00
1 parent 93d3a20e06
commit 1b803e241b
1 file changed
+1 -1
+1 -1
View File
@@ -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)