X-Git-Url: https://plomlompom.com/repos/?p=plomrogue2-experiments;a=blobdiff_plain;f=server.py;h=cdeb27dc6c5081093c37117d8e144818098379a1;hp=9791d5f0bacf830fd4faa19a2b23b6184c2be0b1;hb=8ddccb6e5601f8df54f9cbc4c376ad76aee2fe78;hpb=1c48dfdf85d5549202412f01eced7712adf2d468 diff --git a/server.py b/server.py index 9791d5f..cdeb27d 100755 --- a/server.py +++ b/server.py @@ -20,14 +20,5 @@ if os.path.exists(game_file_name): print("FILE INPUT LINE %s: %s" % (i, line), end='') game.io.handle_input(line, store=False) else: - game.io.handle_input('MAP Hex Y:5,X:5') - game.io.handle_input('TERRAIN_LINE 0 "xxxxx"') - game.io.handle_input('TERRAIN_LINE 1 "x...x"') - game.io.handle_input('TERRAIN_LINE 2 "x.X.x"') - game.io.handle_input('TERRAIN_LINE 3 "x...x"') - game.io.handle_input('TERRAIN_LINE 4 "xxxxx"') - game.io.handle_input('THING_TYPE 0 human') - game.io.handle_input('THING_POS 0 Y:3,X:3') - game.io.handle_input('THING_TYPE 1 monster') - game.io.handle_input('THING_POS 1 Y:1,X:1') + game.io.handle_input('GEN_WORLD Hex Y:16,X:16 bar') game.io.run_loop_with_server()