getChineseResult static method

String getChineseResult(
  1. String result
)

Result of chinese

Implementation

static String getChineseResult(String result) {
  switch (result) {
    case '1-0':
      return '先胜';
    case '0-1':
      return '先负';
    case '1/2-1/2':
      return '先和';
  }
  return '未知';
}