def login():

    if empty1.get() in id_list and int(empty2.get())==id_list[empty1.get()] :

        return minigame_choice()

    else:

        print("아이디 혹은 번호를 다시 확인해주십시오")


def minigame_choice():

    

    title_label.place_forget()

    id_label.place_forget()

    ps_label.place_forget()

    empty1.place_forget()

    empty2.place_forget()

    login_button.place_forget()

    cancel_button.place_forget()


    window.geometry("400x400")

    font1 = font.Font(family="문체부 쓰기 정체", size=15)

    font2 = font.Font(family="Bahnschrift SemiLight SemiConde", size=10)

    font3 = font.Font(family="휴먼모음T",size=20)

    font4 = font.Font(family="휴먼모음T",size=15)


    if str(empty1.get())=="naruto":

        title2_label=Label(window,text="미니게임 선택",font=font1)

        title2_label.place(x=130,y=20)


        image_label=Label(window, text="이미지",image=naruto.picture)

        image_label.place(x=15,y=60)


        profile_label=Label(window, text=naruto.name+" "+str(naruto.age)+"세", font=font1)

        profile_label.place(x=90, y=60)


    elif str(empty1.get())=="sakura":

        title2_label=Label(window,text="미니게임 선택",font=font1)

        title2_label.place(x=130,y=20)


        image_label=Label(window, text="이미지",image=sakura.picture)

        image_label.place(x=15,y=60)


        profile_label=Label(window, text=sakura.name+" "+str(sakura.age)+"세", font=font1)

        profile_label.place(x=90, y=60)


    elif str(empty1.get())=="sauske":

        title2_label=Label(window,text="미니게임 선택",font=font1)

        title2_label.place(x=130,y=20)


        image_label=Label(window, text="이미지",image=sauske.picture)

        image_label.place(x=15,y=60)


        profile_label=Label(window, text=sauske.name+" "+str(sauske.age)+"세", font=font1)

        profile_label.place(x=90, y=60)


    global select    

    select = IntVar()

    

    r1=Radiobutton(window, text="승부차기", variable=select, value=1, font=font4)

    r1.place(x=15,y=200)

    r2=Radiobutton(window, text="미니게임2", variable=select, value=2, font=font4)

    r2.place(x=145,y=200)

    r3=Radiobutton(window, text="미니게임3", variable=select, value=3, font=font4)

    r3.place(x=275,y=200)


    Button(window, text="NEXT", font=font3, command = NEXT).place(x=300, y=330)

    

def NEXT():

    if select.get()==1:

        title2_label.place_forget()

        image_label.place_forget()

        profile_label.place_forget()

        r1.place_forget()

        r2.place_forget()

        r3.place_forget()

        

        return minigame1()

    elif select.get()==2:

        title2_label.place_forget()

        image_label.place_forget()

        profile_label.place_forget()

        r1.place_forget()

        r2.place_forget()

        r3.place_forget()

        

        return minigame2()

    elif select.get()==3:

        title2_label.place_forget()

        image_label.place_forget()

        profile_label.place_forget()

        r1.place_forget()

        r2.place_forget()

        r3.place_forget()

        

        return minigame3()

    

def minigame1():

    print(1)

    

def minigame2():

    print(2)


def minigame3():

    print(3)




===================