-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgames.py
More file actions
17 lines (16 loc) · 734 Bytes
/
Copy pathgames.py
File metadata and controls
17 lines (16 loc) · 734 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import hangman
import rock_paper_scissor
run = True
while run:
choice = int(input("1-->Rock-Paper-Scissor\n2-->Hangman\nWill add more games soon\nGame You want to play: "))
print()
print("====================================================================================")
if choice == 1:
rock_paper_scissor.start()
elif choice == 2:
hangman.start()
print("====================================================================================")
answer = input("Want to play another game ? Press any key to select game except q to exit: ")
if answer.lower() == 'q':
run = False
print("=====================================================================================")