+static int game_is_solved(game_state *state)
+{
+ /*
+ * We return true whenever the solution has been revealed, even
+ * (on spoiler grounds) if it wasn't guessed correctly.
+ *
+ * However, in that situation, 'solved' is still true, so we don't
+ * have to make any effort to arrange this.
+ */
+ return state->solved;
+}
+