Page 740 - 완) I MDP 프로젝트 작품 보고서(전체과 1학년)1.6
P. 740

if(input_26==False):
                                                                 count=3
                                                                 time.sleep(.01)


                                 if  count==1:
                                            if  game_list[random_index]=="rock":
                                                                            screen.blit(rock,(820,250))
                                            elif  game_list[random_index]=="scissors":
                                                                            screen.blit(scissors,(820,250))
                                            elif  game_list[random_index]=="paper":
                                                                            screen.blit(paper,(820,250))
                                    screen.blit(rock,(180,250))
                                            if  game_list[random_index]=="rock":
                                                                            screen.blit(text_draw,[200,570])
                                                       count=0
                                            elif  game_list[random_index]=="scissors":
                                                                            screen.blit(text_win,[250,570])
                                                       ask=1
                                                       count=0
                                            elif  game_list[random_index]=="paper":
                                                                            screen.blit(text_lose,[250,570])
                                                       ser.write('a')
                                                       coin=0
                                                       stage=1
                                                       count=0
                                 elif  count==2:
                                            if  game_list[random_index]=="rock":
                                                                            screen.blit(rock,(820,250))
                                            elif  game_list[random_index]=="scissors":
                                                                            screen.blit(scissors,(820,250))
                                            elif  game_list[random_index]=="paper":
                                                                            screen.blit(paper,(820,250))
                                                            screen.blit(scissors,(180,250))
                                            if  game_list[random_index]=="rock":
                                                                            screen.blit(text_lose,[250,570])
                                                       ser.write('a')
                                                       coin=0
                                                       stage=1
                                                       count=0
                                            elif  game_list[random_index]=="scissors":
                                                                            screen.blit(text_draw,[200,570])




                                                         -  733  -
   735   736   737   738   739   740   741   742   743   744   745