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

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])
                                                       count=0
                                            elif  game_list[random_index]=="paper":
                                                                            screen.blit(text_win,[250,570])
                                                                            screen.blit(text_ask,[150,450])
                                                       ser.write('4')
                                                       coin=0
                                                       count=0
                                                       stage=1
                                 elif  count==3:
                                            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(paper,(180,250))
                                            if  game_list[random_index]=="rock":
                                                                            screen.blit(text_win,[250,570])
                                                                            screen.blit(text_ask,[150,450])
                                                       ser.write('4')
                                                       coin=0
                                                       count=0
                                                       stage=1
                                            elif  game_list[random_index]=="scissors":
                                                                            screen.blit(text_lose,[250,570])




                                                         -  738  -
   740   741   742   743   744   745   746   747   748   749   750