home · contact · privacy
Use trivially re-seedable PRNG.
[plomrogue2-experiments] / new / example_server.py
index fea2f687238c8c2f19176e2a6f29ad9e79fa50b4..87c368f2575e27822d02b1568937a50bd4b4d1c6 100755 (executable)
@@ -1,7 +1,7 @@
 #!/usr/bin/env python3
 import sys
 import os
-from plomrogue import Game
+from plomrogue.game import Game
 
 if len(sys.argv) != 2:
     print('wrong number of arguments, expected one (game file)')
@@ -19,5 +19,5 @@ if os.path.exists(game_file_name):
             print("FILE INPUT LINE %5s: %s" % (i, line), end='')
             game.io.handle_input(line, store=False)
 else:
-    game.io.handle_input('GEN_WORLD Y:16,X:16 bar')
+    game.io.handle_input('GEN_WORLD Y:16,X:16 42')
 game.io.run_loop_with_server()