- command_handler.handle_input('MAP_SIZE Y:5,X:5')
- command_handler.handle_input('TERRAIN_LINE 0 "xxxxx"')
- command_handler.handle_input('TERRAIN_LINE 1 "x...x"')
- command_handler.handle_input('TERRAIN_LINE 2 "x.X.x"')
- command_handler.handle_input('TERRAIN_LINE 3 "x...x"')
- command_handler.handle_input('TERRAIN_LINE 4 "xxxxx"')
- command_handler.handle_input('THING_TYPE 0 human')
- command_handler.handle_input('THING_POS 0 Y:3,X:3')
- command_handler.handle_input('THING_TYPE 1 monster')
- command_handler.handle_input('THING_POS 1 Y:1,X:1')
-
-
-server_.io.run_server_with_io_loop(command_handler)
+ game.io.handle_input('GEN_WORLD Hex Y:16,X:16 bar')
+game.io.run_loop_with_server()