Implement selection of game seeds, by reusing the config box
[sgt/puzzles] / net.c
diff --git a/net.c b/net.c
index 3c28ccc..cf3fe3d 100644 (file)
--- a/net.c
+++ b/net.c
@@ -272,6 +272,15 @@ char *new_game_seed(game_params *params)
     return dupstr(buf);
 }
 
+char *validate_seed(game_params *params, char *seed)
+{
+    /*
+     * Since any string at all will suffice to seed the RNG, there
+     * is no validation required.
+     */
+    return NULL;
+}
+
 /* ----------------------------------------------------------------------
  * Construct an initial game state, given a seed and parameters.
  */