+static int game_is_solved(game_state *state)
+{
+ /*
+ * If the player has run out of moves without winning, we don't
+ * list the game as solved, because they're more likely to undo
+ * and carry on than to give up and start a new game.
+ */
+ return state->complete;
+}
+