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