def handle_unknown(self, *args): return response.error('Unrecognized command')
def handle_boardsize(self, size): if int(size) != 19: return response.error('Only 19x19 currently supported, requested {}'.format(size)) return response.success()