Skip to content

Commit bb15ffc

Browse files
committed
finish working on main function
1 parent 3d1bbb0 commit bb15ffc

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

main.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,16 @@ def usr_choice_input(msg: str = ""):
153153

154154
def main():
155155
""""""
156+
user_name = welcome_screen()
157+
158+
while ask("Start Rolling the Dices? [Y]es/[N]o: "):
159+
clear()
160+
usr_choice = usr_choice_input("Choose number between 2 and 12: ")
161+
dice_game(2, usr_choice=usr_choice, usr_name=user_name)
162+
if ask("Rollin Again? [Y]es/[N]o, enter[E]xit if you want to quit:"):
163+
continue
164+
else:
165+
break
156166

157167

158168
if __name__ == "__main__":

0 commit comments

Comments
 (0)