Commit b152f643 authored by Tegar Aji Pangestu's avatar Tegar Aji Pangestu
Browse files
parents 6b262d4e b08281b8
......@@ -400,8 +400,11 @@ def playserver(portLaptop):
else:
response = "{'status' : 'fail', 'description' : 'offer is not available'}"
elif (method == 'map'):
response = '{"status" : "ok", "name" : "Bandar Behari", "width" : 5, "height" : 5}'
response = '{"status" : "ok", "name" : "Bandar Behari", "width" : 10, "height" : 10}'
elif (method == 'move'):
response = '{"status" : "ok", "time" : 123456}'
elif (method == 'field'):
response = '{"status" : "ok", "item" : 2}'
else:
response = "{'status' : 'error'}"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment