izuemon commited on
Commit
548d87d
·
verified ·
1 Parent(s): 49f1f09

Update v2_gpt.py

Browse files
Files changed (1) hide show
  1. v2_gpt.py +1 -1
v2_gpt.py CHANGED
@@ -84,7 +84,7 @@ def judge(my_hand: str, user_hand: str) -> str:
84
  diff = (HAND_INDEX[my_hand] - HAND_INDEX[user_hand]) % 3
85
  if diff == 0:
86
  return "あいこ"
87
- if diff == 1:
88
  return "私の勝ち!"
89
  return "あなたの勝ち!"
90
 
 
84
  diff = (HAND_INDEX[my_hand] - HAND_INDEX[user_hand]) % 3
85
  if diff == 0:
86
  return "あいこ"
87
+ if diff == 2:
88
  return "私の勝ち!"
89
  return "あなたの勝ち!"
90