The two Rubik-like puzzles, Sixteen and Twiddle, now support an
[sgt/puzzles] / cube.c
diff --git a/cube.c b/cube.c
index 33ef6d3..82901e5 100644 (file)
--- a/cube.c
+++ b/cube.c
@@ -985,6 +985,12 @@ static void free_game(game_state *state)
     sfree(state);
 }
 
+static game_state *solve_game(game_state *state, game_aux_info *aux,
+                             char **error)
+{
+    return NULL;
+}
+
 static char *game_text_format(game_state *state)
 {
     return NULL;
@@ -1557,7 +1563,8 @@ const struct game thegame = {
     new_game,
     dup_game,
     free_game,
-    NULL, game_text_format,
+    FALSE, solve_game,
+    FALSE, game_text_format,
     new_ui,
     free_ui,
     make_move,