Commit 3321ec86 authored by Linda Sekawati's avatar Linda Sekawati
Browse files

Map,Move,Field dummy

parent d5236eed
......@@ -284,8 +284,11 @@ def playserver(portLaptop):
else:
response = "{'status':'fail','description':'not exists'}"
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