diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..26d3352 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,3 @@ +# Default ignored files +/shelf/ +/workspace.xml diff --git a/.idea/Python-Game.iml b/.idea/Python-Game.iml new file mode 100644 index 0000000..d0876a7 --- /dev/null +++ b/.idea/Python-Game.iml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/inspectionProfiles/profiles_settings.xml b/.idea/inspectionProfiles/profiles_settings.xml new file mode 100644 index 0000000..105ce2d --- /dev/null +++ b/.idea/inspectionProfiles/profiles_settings.xml @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..db8786c --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,7 @@ + + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..5a762f1 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..35eb1dd --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/game.py b/game.py index 9cb3593..dea64cd 100644 --- a/game.py +++ b/game.py @@ -1,33 +1,36 @@ +# 소스코드수정중 +# All Korean transcripted to English + import random num1 = int(input("하나를 선택하세요 : 가위(0), 바위(1), 보(2) :")) num2 = random.randrange(0, 3) if num2 == 0: - print("컴퓨터는 가위를 냈습니다.") + print("컴퓨터는 가위를 냈습니다. AI Scissors") elif num2 == 1: - print("컴퓨터는 바위를 냈습니다.") + print("컴퓨터는 바위를 냈습니다. AI rocks") else: - print("컴퓨터는 보를 냈습니다.") + print("컴퓨터는 보를 냈습니다.AI papers") if num1 == 0: if num2 == 1: - print("컴퓨터가 이겼습니다") + print("컴퓨터가 이겼습니다 Computer Wins!") elif num2 == 2: - print("당신이 이겼습니다.") + print("당신이 이겼습니다. You Win!") else: - print("비겼습니다.") + print("비겼습니다.Draw!") elif num1 == 1: if num2 == 0: - print("당신이 이겼습니다.") + print("당신이 이겼습니다.You Win!") elif num2 == 2: - print("컴퓨터가 이겼습니다.") + print("컴퓨터가 이겼습니다.Computer Wins!") else: - print("비겼습니다.") + print("비겼습니다.Draw") else: if num2 == 0: - print("컴퓨터가 이겼습니다") + print("컴퓨터가 이겼습니다.Computer Wins!") elif num2 == 1: - print("당신이 이겼습니다.") + print("당신이 이겼습니다.You Win!") else: - print("비겼습니다.") + print("비겼습니다.Draw!") diff --git a/newGame.py b/newGame.py new file mode 100644 index 0000000..98c7e59 --- /dev/null +++ b/newGame.py @@ -0,0 +1,2 @@ +print('new game') +print('Hello GitHub!")