鱼C论坛

 找回密码
 立即注册
查看: 4315|回复: 21

[作品展示] python 炸飞机小游戏

[复制链接]
发表于 2020-7-20 10:10:42 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能^_^

您需要 登录 才可以下载或查看,没有账号?立即注册

x
本帖最后由 昨非 于 2020-8-16 11:40 编辑

    这个“炸飞机”小游戏算是大一期末大作业,初来乍到,必有很多不足之处,还望指正。
功能简介(游戏规则)
双方各自在自己9*9的战场(表格)中布置三架指定形状(士字形)的飞机,布置过程可以用鼠标右键旋转飞机,点击左键确定。
  交战阶段:双方互相猜测对方飞机的位置,左键单击投放炸弹,单击右键可对战场进行标记。根据是否炸中飞机、是否炸中飞机头部,会产生三种不同的反馈,以单元格颜色显示,并规定:只有爆头才会将飞机击毁。
  胜利判定:先将对手三架飞机全部爆头者获胜。

框架及效果图如下:


                               
登录/注册后可看大图





                               
登录/注册后可看大图





                               
登录/注册后可看大图





                               
登录/注册后可看大图





                               
登录/注册后可看大图





                               
登录/注册后可看大图





源码分为四部分:
main模块
  1. import pygame
  2. import sys
  3. import traceback
  4. import random
  5. import board
  6. import random
  7. from random import *
  8. from pygame.locals import *

  9. #初始化pygame
  10. pygame.init()
  11. pygame.mixer.init()

  12. size = width, height = 500,500

  13. #创建指定大小的窗口
  14. screen = pygame.display.set_mode(size)
  15. #设置窗口标题
  16. pygame.display.set_caption('炸飞机')
  17. #导入图片
  18. background = pygame.image.load("image/background.jpg").convert_alpha()
  19. intro1 =pygame.image.load("image/intro1.png").convert_alpha()
  20. intro2 =pygame.image.load("image/intro2.png").convert_alpha()
  21. bluewin = pygame.image.load("image/bluewin.png").convert_alpha()
  22. goldwin = pygame.image.load("image/goldwin.png").convert_alpha()
  23. lost = pygame.image.load("image/lost.png").convert_alpha()
  24. choose = pygame.image.load("image/choose.png").convert_alpha()

  25. begin1 = pygame.image.load("image/begin.png").convert_alpha()
  26. begin2 = pygame.image.load("image/rebegin.png").convert_alpha()
  27. begin = begin1
  28. begin_rect =begin1.get_rect()
  29. begin_rect.left,begin_rect.top = 200,50
  30. start1 = pygame.image.load("image/start.png").convert_alpha()
  31. start2 = pygame.image.load("image/restart.png").convert_alpha()
  32. start = start1
  33. start_rect =start1.get_rect()
  34. start_rect.left,start_rect.top = 200,10
  35. introduce1 = pygame.image.load("image/introduce.png").convert_alpha()
  36. introduce2 = pygame.image.load("image/reintroduce.png").convert_alpha()
  37. introduce = introduce1
  38. introduce_rect = introduce1.get_rect()
  39. introduce_rect.left,introduce_rect.top = 200,90
  40. back1 = pygame.image.load("image/back.png").convert_alpha()
  41. back2 = pygame.image.load("image/reback.png").convert_alpha()
  42. back = back1
  43. back_rect =back1.get_rect()
  44. back_rect.left,back_rect.top = 400,290
  45. next1 = pygame.image.load("image/next.png").convert_alpha()
  46. next2 = pygame.image.load("image/renext.png").convert_alpha()
  47. nexta = next1
  48. next_rect =next1.get_rect()
  49. next_rect.left,next_rect.top = 400,250

  50. def main():
  51.     page= 1
  52.     clock = pygame.time.Clock()

  53.     while True:
  54.         #检验用户鼠标的位置
  55.         for event in pygame.event.get():
  56.             if event.type == QUIT:
  57.                 pygame.quit()
  58.                 sys.exit()

  59.             if event.type == MOUSEMOTION:
  60.                 if begin_rect.collidepoint(event.pos):
  61.                     begin = begin2
  62.                 else:
  63.                     begin = begin1
  64.                     
  65.                 if start_rect.collidepoint(event.pos):
  66.                     start = start2
  67.                 else:
  68.                     start = start1
  69.                     
  70.                 if introduce_rect.collidepoint(event.pos):
  71.                     introduce = introduce2
  72.                 else:
  73.                     introduce = introduce1

  74.                 if next_rect.collidepoint(event.pos):
  75.                     nexta = next2
  76.                 else:
  77.                     nexta = next1

  78.                 if back_rect.collidepoint(event.pos):
  79.                     back = back2
  80.                 else:
  81.                     back = back1
  82.                     
  83.             #检验用户是否按下鼠标
  84.             if event.type == MOUSEBUTTONDOWN and start_rect.collidepoint(event.pos):
  85.                 page = 4
  86.                     
  87.             if event.type == MOUSEBUTTONDOWN and introduce_rect.collidepoint(event.pos):
  88.                 page = 2

  89.             if event.type == MOUSEBUTTONDOWN and next_rect.collidepoint(event.pos):
  90.                 if page == 2:
  91.                     page = 3
  92.                 elif page == 3:
  93.                     page = 2

  94.             if event.type == MOUSEBUTTONDOWN and back_rect.collidepoint(event.pos) :
  95.                 page = 1

  96.             if event.type == MOUSEBUTTONDOWN and begin_rect.collidepoint(event.pos) :
  97.                 page = 5

  98.         key_pressed = pygame.key.get_pressed()

  99.         #设置主页面
  100.         if page == 1 :
  101.             screen.blit(background,(0,0))
  102.             screen.blit(start,start_rect)
  103.             screen.blit(introduce,introduce_rect)
  104.             screen.blit(begin,begin_rect)

  105.         if page == 2:
  106.             screen.blit(intro1,(0,0))
  107.             screen.blit(nexta,next_rect)
  108.             screen.blit(back,back_rect)

  109.         if page == 3:
  110.             screen.blit(intro2,(0,0))
  111.             screen.blit(nexta,next_rect)
  112.             screen.blit(back,back_rect)

  113.         #玩家对战玩家
  114.         if page == 4:
  115.             again1 = pygame.image.load("image/again.png").convert_alpha()
  116.             again2 = pygame.image.load("image/reagain.png").convert_alpha()
  117.             again = again1
  118.             again_rect =again1.get_rect()
  119.             again_rect.left,again_rect.top = 10,350
  120.             menu1 = pygame.image.load("image/menu.png").convert_alpha()
  121.             menu2 = pygame.image.load("image/remenu.png").convert_alpha()
  122.             menu = menu1
  123.             menu_rect = menu1.get_rect()
  124.             menu_rect.left,menu_rect.top = 10,400
  125.             showgold1 = pygame.image.load("image/showgold.png").convert_alpha()
  126.             showgold2 = pygame.image.load("image/reshowgold.png").convert_alpha()
  127.             showgold = showgold1
  128.             showgold_rect = showgold1.get_rect()
  129.             showgold_rect.left,showgold_rect.top = 10,300
  130.             showblue1 = pygame.image.load("image/showblue.png").convert_alpha()
  131.             showblue2 = pygame.image.load("image/reshowblue.png").convert_alpha()
  132.             showblue = showblue1
  133.             showblue_rect = showblue1.get_rect()
  134.             showblue_rect.left,showblue_rect.top = 10,250
  135.             back3 = pygame.image.load("image/back.png").convert_alpha()
  136.             back4 = pygame.image.load("image/reback.png").convert_alpha()
  137.             back5 = back3
  138.             back5_rect =back3.get_rect()
  139.             back5_rect.left,back5_rect.top = 10,450

  140.             clock=pygame.time.Clock()
  141.             running = True
  142.             result = 0
  143.             showtype = 0
  144.             
  145.             #摆放飞机
  146.             board.points = 0
  147.             blue = board.Color(board.blue)
  148.             while board.points<3:
  149.                 blue.make_plane()
  150.                 pygame.display.flip()

  151.             if board.points == 4:
  152.                 running = False
  153.                 page = 1
  154.                 result = 1
  155.                
  156.             if board.points == 3:
  157.                 board.points = 0
  158.             
  159.             gold = board.Color(board.gold)
  160.             while board.points<3:
  161.                 gold.make_plane()
  162.                 pygame.display.flip()
  163.                
  164.             if board.points == 4:
  165.                 running = False
  166.                 page = 1
  167.                 result = 2
  168.                
  169.             #轮流攻击
  170.             while result == 0 :
  171.                 if board.turn%2 == 1 :
  172.                     gold.attark()
  173.                     if gold.score == 3 or blue.score <0:
  174.                         result = 1
  175.                         board.turn = 1
  176.                 if board.turn%2 == 0 :
  177.                     blue.attark()
  178.                     if blue.score == 3 or gold.score < 0:
  179.                         result = 2
  180.                         board.turn = 1
  181.                 pygame.display.flip()
  182.                 clock.tick(60)
  183.                
  184.             #加载结束界面   
  185.             while running :
  186.                 for event in pygame.event.get():
  187.                     if event.type == QUIT:
  188.                         pygame.quit()
  189.                         sys.exit()
  190.                         
  191.                     if event.type == MOUSEMOTION:
  192.                         if again_rect.collidepoint(event.pos):
  193.                             again = again2
  194.                         else:
  195.                             again = again1

  196.                         if menu_rect.collidepoint(event.pos):
  197.                             menu = menu2
  198.                         else:
  199.                             menu = menu1

  200.                         if showgold_rect.collidepoint(event.pos):
  201.                             showgold = showgold2
  202.                         else:
  203.                             showgold = showgold1

  204.                         if showblue_rect.collidepoint(event.pos):
  205.                             showblue = showblue2
  206.                         else:
  207.                             showblue = showblue1
  208.                            
  209.                         if back5_rect.collidepoint(event.pos):
  210.                             back5 = back4
  211.                         else:
  212.                             back5 = back3

  213.                     if event.type == MOUSEBUTTONDOWN and again_rect.collidepoint(event.pos):
  214.                         page = 4
  215.                         running = False

  216.                     if event.type == MOUSEBUTTONDOWN and menu_rect.collidepoint(event.pos) :
  217.                         page = 1
  218.                         running = False

  219.                     if event.type == MOUSEBUTTONDOWN and showgold_rect.collidepoint(event.pos) :
  220.                         showtype = 2

  221.                     if event.type == MOUSEBUTTONDOWN and showblue_rect.collidepoint(event.pos) :
  222.                         showtype = 1

  223.                     if event.type == MOUSEBUTTONDOWN and back5_rect.collidepoint(event.pos) :
  224.                         showtype = 0

  225.                 if showtype == 0:        
  226.                     if result == 1 :
  227.                         screen.blit(bluewin,(0,0))
  228.                         
  229.                     if result == 2 :
  230.                         screen.blit(goldwin,(0,0))

  231.                     screen.blit(again,again_rect)
  232.                     screen.blit(menu,menu_rect)
  233.                     screen.blit(showgold,showgold_rect)
  234.                     screen.blit(showblue,showblue_rect)

  235.                 if showtype == 1:
  236.                     screen.fill(board.white)
  237.                     blue.show()
  238.                     screen.blit(back5,back5_rect)

  239.                 if showtype == 2:
  240.                     screen.fill(board.white)
  241.                     gold.show()
  242.                     screen.blit(back5,back5_rect)
  243.                         
  244.                 pygame.display.flip()
  245.                 clock.tick(60)
  246.                
  247.         #玩家对战电脑
  248.         if page == 5:
  249.             choice = 0
  250.             again1 = pygame.image.load("image/again.png").convert_alpha()
  251.             again2 = pygame.image.load("image/reagain.png").convert_alpha()
  252.             again = again1
  253.             again_rect =again1.get_rect()
  254.             again_rect.left,again_rect.top = 10,350
  255.             menu1 = pygame.image.load("image/menu.png").convert_alpha()
  256.             menu2 = pygame.image.load("image/remenu.png").convert_alpha()
  257.             menu = menu1
  258.             menu_rect = menu1.get_rect()
  259.             menu_rect.left,menu_rect.top = 10,400
  260.             showgold1 = pygame.image.load("image/showgold.png").convert_alpha()
  261.             showgold2 = pygame.image.load("image/reshowgold.png").convert_alpha()
  262.             showgold = showgold1
  263.             showgold_rect = showgold1.get_rect()
  264.             showgold_rect.left,showgold_rect.top = 10,300
  265.             showblue1 = pygame.image.load("image/showblue.png").convert_alpha()
  266.             showblue2 = pygame.image.load("image/reshowblue.png").convert_alpha()
  267.             showblue = showblue1
  268.             showblue_rect = showblue1.get_rect()
  269.             showblue_rect.left,showblue_rect.top = 10,250
  270.             back3 = pygame.image.load("image/back.png").convert_alpha()
  271.             back4 = pygame.image.load("image/reback.png").convert_alpha()
  272.             back5 = back3
  273.             back5_rect =back3.get_rect()
  274.             back5_rect.left,back5_rect.top = 10,450
  275.             easy1 = pygame.image.load("image/easy.png").convert_alpha()
  276.             easy2 = pygame.image.load("image/reeasy.png").convert_alpha()
  277.             easy = easy1
  278.             easy_rect =easy1.get_rect()
  279.             easy_rect.left,easy_rect.top = 200,100
  280.             normal1 = pygame.image.load("image/normal.png").convert_alpha()
  281.             normal2 = pygame.image.load("image/renormal.png").convert_alpha()
  282.             normal = normal1
  283.             normal_rect =normal1.get_rect()
  284.             normal_rect.left,normal_rect.top = 200,140
  285.             hard1 = pygame.image.load("image/hard.png").convert_alpha()
  286.             hard2 = pygame.image.load("image/rehard.png").convert_alpha()
  287.             hard = hard1
  288.             hard_rect =hard1.get_rect()
  289.             hard_rect.left,hard_rect.top = 200,180

  290.             while choice == 0:
  291.                 for event in pygame.event.get():
  292.                     if event.type == QUIT:
  293.                         pygame.quit()
  294.                         sys.exit()

  295.                     if event.type == MOUSEMOTION:
  296.                         if easy_rect.collidepoint(event.pos):
  297.                             easy = easy2
  298.                         else:
  299.                             easy = easy1
  300.                         if normal_rect.collidepoint(event.pos):
  301.                             normal = normal2
  302.                         else:
  303.                             normal = normal1
  304.                         if hard_rect.collidepoint(event.pos):
  305.                             hard = hard2
  306.                         else:
  307.                             hard = hard1
  308.                            
  309.                     if event.type == MOUSEBUTTONDOWN and easy_rect.collidepoint(event.pos):
  310.                         choice = 1
  311.                     if event.type == MOUSEBUTTONDOWN and normal_rect.collidepoint(event.pos):
  312.                         choice = 2
  313.                         board.body = 0
  314.                         board.miss = 0
  315.                     if event.type == MOUSEBUTTONDOWN and hard_rect.collidepoint(event.pos):
  316.                         choice = 2
  317.                         board.body = 9
  318.                         board.miss = 1
  319.                            
  320.                 screen.blit(choose,(0,0))
  321.                 screen.blit(easy,easy_rect)
  322.                 screen.blit(normal,normal_rect)
  323.                 screen.blit(hard,hard_rect)
  324.                 pygame.display.flip()

  325.             clock=pygame.time.Clock()
  326.             running = True
  327.             result = 0
  328.             showtype = 0

  329.             board.points = 0
  330.             blue = board.Color(board.blue)
  331.             while board.points<3:
  332.                 blue.make_plane()
  333.                 pygame.display.flip()

  334.             if board.points == 4:
  335.                 running = False
  336.                 page = 1
  337.                 result = 1
  338.                
  339.             if board.points == 3:
  340.                 board.points = 0
  341.             
  342.             gold = board.Color(board.gold)
  343.             while board.points<3:
  344.                 gold.computer_make_plane()
  345.                 pygame.display.flip()
  346.                
  347.             if board.points == 4:
  348.                 running = False
  349.                 page = 1
  350.                 result = 2

  351.             board.turn = 1
  352.             while result == 0 :
  353.                 if board.turn%2 == 0 :
  354.                     if blue.score == 3 or gold.score < 0:
  355.                         result = 2
  356.                         break
  357.                     if choice == 2:
  358.                         blue.computer_attark_main()
  359.                     if choice == 1:
  360.                         blue.computer_attark()
  361.                     if blue.score == 3 or gold.score < 0:
  362.                         result = 2
  363.                         break
  364.                 if board.turn%2 == 1 :
  365.                     if gold.score == 3 or blue.score <0:
  366.                         result = 1
  367.                         break
  368.                     gold.attark()
  369.                     if gold.score == 3 or blue.score <0:
  370.                         result = 1
  371.                         break
  372.                 pygame.display.flip()
  373.                 clock.tick(60)
  374.                
  375.             while running :
  376.                 for event in pygame.event.get():
  377.                     if event.type == QUIT:
  378.                         pygame.quit()
  379.                         sys.exit()
  380.                         
  381.                     if event.type == MOUSEMOTION:
  382.                         if again_rect.collidepoint(event.pos):
  383.                             again = again2
  384.                         else:
  385.                             again = again1

  386.                         if menu_rect.collidepoint(event.pos):
  387.                             menu = menu2
  388.                         else:
  389.                             menu = menu1

  390.                         if showgold_rect.collidepoint(event.pos):
  391.                             showgold = showgold2
  392.                         else:
  393.                             showgold = showgold1

  394.                         if showblue_rect.collidepoint(event.pos):
  395.                             showblue = showblue2
  396.                         else:
  397.                             showblue = showblue1
  398.                            
  399.                         if back5_rect.collidepoint(event.pos):
  400.                             back5 = back4
  401.                         else:
  402.                             back5 = back3

  403.                     if event.type == MOUSEBUTTONDOWN and again_rect.collidepoint(event.pos):
  404.                         page = 5
  405.                         running = False

  406.                     if event.type == MOUSEBUTTONDOWN and menu_rect.collidepoint(event.pos) :
  407.                         page = 1
  408.                         running = False

  409.                     if event.type == MOUSEBUTTONDOWN and showgold_rect.collidepoint(event.pos) :
  410.                         showtype = 2

  411.                     if event.type == MOUSEBUTTONDOWN and showblue_rect.collidepoint(event.pos) :
  412.                         showtype = 1

  413.                     if event.type == MOUSEBUTTONDOWN and back5_rect.collidepoint(event.pos) :
  414.                         showtype = 0

  415.                 if showtype == 0:        
  416.                     if result == 1 :
  417.                         screen.blit(bluewin,(0,0))
  418.                         
  419.                     if result == 2 :
  420.                         screen.blit(lost,(0,0))

  421.                     screen.blit(again,again_rect)
  422.                     screen.blit(menu,menu_rect)
  423.                     screen.blit(showgold,showgold_rect)
  424.                     screen.blit(showblue,showblue_rect)

  425.                 if showtype == 1:
  426.                     screen.fill(board.white)
  427.                     blue.show()
  428.                     screen.blit(back5,back5_rect)

  429.                 if showtype == 2:
  430.                     screen.fill(board.white)
  431.                     gold.show()
  432.                     screen.blit(back5,back5_rect)
  433.                         
  434.                 pygame.display.flip()
  435.                 clock.tick(60)

  436.         pygame.display.flip()

  437.         clock.tick(60)


  438.     pygame.display.flip()

  439.     clock.tick(60)

  440. if __name__=="__main__":
  441.     try:
  442.         main()
  443.     except SystemExit:
  444.         pass
  445.     except:
  446.         traceback.print_exc()
  447.         pygame.quit()
  448.         input()

复制代码



board模块:

  1. import pygame
  2. import sys
  3. import traceback
  4. import random
  5. import pickle
  6. from random import *
  7. from pygame.locals import *

  8. pygame.init()
  9. pygame.mixer.init()
  10. screen = pygame.display.set_mode((500,500))
  11. screen.fill((255,255,255))

  12. white = (255,255,255)
  13. black = (0,0,0)
  14. grey = (190,190,190)
  15. gold = (255,215,0)
  16. green = (0,255,0)
  17. red = (255,0,0)
  18. blue = (0,0,255)
  19. cyan = (0,255,255)
  20. purple = (255,0,255)
  21. deepskyblue = (0,191,255)
  22. cishu = 0

  23. giveup1 = pygame.image.load("image/giveup.png").convert_alpha()
  24. giveup2 = pygame.image.load("image/regiveup.png").convert_alpha()
  25. giveup = giveup1

  26. direction = 0
  27. y = 0
  28. x = 0
  29. points = 0
  30. num = -100
  31. turn = 1
  32. body = 0
  33. miss = 0

  34. #定义棋盘类,存储棋盘格子变量
  35. class Board(pygame.sprite.Sprite):
  36.     def __init__(self,x,y,color):
  37.         pygame.sprite.Sprite.__init__(self)

  38.         self.rect = (x,y,50,50)
  39.         self.circle = (x+25,y+25)
  40.         self.color = color
  41.         self.nature = 1
  42.         self.true = 0
  43.         self.judge = 0
  44.         
  45.     def draw(self,col):
  46.         if self.true == 0:
  47.             pygame.draw.rect(screen,col,self.rect,self.nature)
  48.             self.nature = 1
  49.         if (self.true == 1 or self.true == 2) and self.nature ==1:
  50.             pygame.draw.rect(screen,self.color,self.rect,0)
  51.         if (self.true == 1 or self.true == 2) and self.nature ==0:
  52.             pygame.draw.rect(screen,red,self.rect,0)
  53.             self.nature = 1

  54.     def redraw(self,col):
  55.         if self.judge == 0 and self.nature == 1 :
  56.             pygame.draw.rect(screen,black,self.rect,1)
  57.         if self.judge == 0 and self.nature == 0:
  58.             pygame.draw.rect(screen,col,self.rect,0)
  59.             self.nature = 1
  60.         if self.judge == 1 :
  61.             pygame.draw.rect(screen,black,self.rect,1)
  62.             if self.true == 1 :
  63.                 pygame.draw.circle(screen,col,self.circle,25,0)
  64.             if self.true == 2:
  65.                 pygame.draw.circle(screen,red,self.circle,25,0)
  66.             if self.true == 0:
  67.                 pygame.draw.circle(screen,grey,self.circle,25,0)
  68.         if self.judge == 2 :
  69.             pygame.draw.rect(screen,black,self.rect,1)
  70.             pygame.draw.circle(screen,col,self.circle,15,0)

  71.     def clean(self):
  72.         pygame.draw.rect(screen,white,self.rect,0)

  73.         
  74. #颜色类,内置函数用来进行游戏(分为蓝色方与黄色方)
  75. class Color(pygame.sprite.Sprite):
  76.     def __init__(self,color):
  77.         pygame.sprite.Sprite.__init__(self)
  78.         
  79.         self.color = color
  80.         self.map = []
  81.         if color == blue :
  82.             self.set = gold
  83.         if color == gold :
  84.             self.set = blue
  85.         self.score = 0
  86.         
  87.         for i in range(9):
  88.             for q in range(9):
  89.                 color_ = Board(50*i,50*q,color)
  90.                 color_.draw(black)
  91.                 self.map.append(color_)
  92.                
  93.     #摆放飞机函数
  94.     def make_plane(self):
  95.         
  96.         global direction,x,y,points,num
  97.         color=[deepskyblue,purple,green]

  98.         lay1 = pygame.image.load("image/lay.png").convert_alpha()
  99.         lay2 = pygame.image.load("image/relay.png").convert_alpha()
  100.         lay = lay1
  101.         lay_rect =lay1.get_rect()
  102.         lay_rect.left,lay_rect.top = 0,450
  103.         back1 = pygame.image.load("image/back.png").convert_alpha()
  104.         back2 = pygame.image.load("image/reback.png").convert_alpha()
  105.         back = back1
  106.         back_rect =back1.get_rect()
  107.         back_rect.left,back_rect.top = 100,450
  108.         
  109.         for event in pygame.event.get():
  110.             if event.type == QUIT:
  111.                 pygame.quit()
  112.                 sys.exit()

  113.             if event.type == MOUSEMOTION:
  114.                 if back_rect.collidepoint(event.pos):
  115.                     back = back2
  116.                 else:
  117.                     back = back1

  118.                 if lay_rect.collidepoint(event.pos):
  119.                     lay = lay2
  120.                 else:
  121.                     lay = lay1

  122.             if event.type == MOUSEBUTTONDOWN and lay_rect.collidepoint(event.pos):
  123.                 points = 0
  124.                 for each in self.map:
  125.                     each.true = 0
  126.                     each.color = self.color

  127.             if event.type == MOUSEBUTTONDOWN and back_rect.collidepoint(event.pos):
  128.                 points = 4
  129.                
  130.             if event.type == MOUSEBUTTONDOWN and event.button == 3:
  131.                 if direction == 3:
  132.                     direction =0
  133.                 else :
  134.                     direction += 1
  135.                     
  136.             if event.type == MOUSEMOTION or event.type == MOUSEBUTTONDOWN :
  137.                 screen.fill(white)
  138.                 pos = pygame.mouse.get_pos()
  139.                 x = pos[0]//50
  140.                 y = pos[1]//50
  141.                 if y==9:
  142.                     num = -100
  143.                 else :
  144.                     num = 9*x+y
  145.             q = 0
  146.             key = 0
  147.             
  148.             for each in self.map:
  149.                 #绘制飞机头向上时的图案
  150.                 if direction == 0:
  151.                     if y<6 and x>=2 and x<=6:
  152.                         if q==num or q==num+1 or q==num-8 or q==num+10 or q==num-17 or q==num+19 or q==num+2 or q==num+3 or q==num-6 or q==num+12:
  153.                             each.nature = 0
  154.                             each.draw(each.color)
  155.                             q+=1
  156.                             if each.true == 0:
  157.                                 key += 1
  158.                         else :
  159.                             each.draw(black)
  160.                             q+=1
  161.                     if y<6 and (x<2 or x>6):
  162.                         if q==num or q==num+1 or q==num-8 or q==num+10 or q==num-17 or q==num+19 or q==num+2 or q==num+3 or q==num-6 or q==num+12:
  163.                             each.nature = 0
  164.                             each.draw(red)
  165.                             q+=1
  166.                         else :
  167.                             each.draw(black)
  168.                             q+=1
  169.                     if y==6 :
  170.                         if q==num or q==num+1 or q==num-8 or q==num+10 or q==num-17 or q==num+19 or q==num+2:
  171.                             each.nature = 0
  172.                             each.draw(red)
  173.                             q+=1
  174.                         else :
  175.                             each.draw(black)
  176.                             q+=1
  177.                     if y==7 :
  178.                         if q==num or q==num+1 or q==num-8 or q==num+10 or q==num-17 or q==num+19:
  179.                             each.nature = 0
  180.                             each.draw(red)
  181.                             q+=1
  182.                         else :
  183.                             each.draw(black)
  184.                             q+=1
  185.                     if y>=8 :
  186.                         if q==num:
  187.                             each.nature = 0
  188.                             each.draw(red)
  189.                             q+=1
  190.                         else :
  191.                             each.draw(black)
  192.                             q+=1
  193.                 #绘制飞机头向右时的图案
  194.                 if direction == 1:
  195.                     if 8>=x>=3 and y>=2 and y<=6:
  196.                         if q==num or q==num-9 or q==num-8 or q==num-10 or q==num-7 or q==num-11 or q==num-18 or q==num-27 or q==num-26 or q==num-28:
  197.                             each.nature = 0
  198.                             each.draw(each.color)
  199.                             q+=1
  200.                             if each.true == 0:
  201.                                 key += 1
  202.                         else :
  203.                             each.draw(black)
  204.                             q+=1
  205.                     if (x<3 or x==9) and y>=2 and y<=6:
  206.                         if q==num or q==num-9 or q==num-8 or q==num-10 or q==num-7 or q==num-11 or q==num-18 or q==num-27 or q==num-26 or q==num-28:
  207.                             each.nature = 0
  208.                             each.draw(red)
  209.                             q+=1
  210.                         else :
  211.                             each.draw(black)
  212.                             q+=1
  213.                     if  y == 1 :
  214.                         if q==num or q==num-9 or q==num-8 or q==num-10 or q==num-7 or q==num-18 or q==num-27 or q==num-26 or q==num-28:
  215.                             each.nature = 0
  216.                             each.draw(red)
  217.                             q+=1
  218.                         else :
  219.                             each.draw(black)
  220.                             q+=1
  221.                     if  y == 0 :
  222.                         if q==num or q==num-9 or q==num-8 or q==num-7 or q==num-18 or q==num-27 or q==num-26:
  223.                             each.nature = 0
  224.                             each.draw(red)
  225.                             q+=1
  226.                         else :
  227.                             each.draw(black)
  228.                             q+=1
  229.                     if y==7:
  230.                         if q==num or q==num-9 or q==num-8 or q==num-10  or q==num-11 or q==num-18 or q==num-27 or q==num-26 or q==num-28:
  231.                             each.nature = 0
  232.                             each.draw(red)
  233.                             q+=1
  234.                         else :
  235.                             each.draw(black)
  236.                             q+=1
  237.                     if y>=8:
  238.                         if q==num or q==num-9 or q==num-10  or q==num-11 or q==num-18 or q==num-27 or q==num-28:
  239.                             each.nature = 0
  240.                             each.draw(red)
  241.                             q+=1
  242.                         else :
  243.                             each.draw(black)
  244.                             q+=1
  245.                 #绘制飞机头向下时的图案
  246.                 if direction == 2:
  247.                     if 2<=x<=6 and y>=3:
  248.                         if q==num or q==num-1 or q==num+8 or q==num-10 or q==num+17 or q==num-19 or q==num-2 or q==num-3 or q==num+6 or q==num-12:
  249.                             each.nature = 0
  250.                             each.draw(each.color)
  251.                             q+=1
  252.                             if each.true == 0:
  253.                                 key += 1
  254.                         else :
  255.                             each.draw(black)
  256.                             q+=1
  257.                     if (x<2 or x>6) and y>=3:
  258.                         if q==num or q==num-1 or q==num+8 or q==num-10 or q==num+17 or q==num-19 or q==num-2 or q==num-3 or q==num+6 or q==num-12:
  259.                             each.nature = 0
  260.                             each.draw(red)
  261.                             q+=1
  262.                         else :
  263.                             each.draw(black)
  264.                             q+=1
  265.                     if y == 2 :
  266.                         if q==num or q==num-1 or q==num+8 or q==num-10 or q==num+17 or q==num-19 or q==num-2:
  267.                             each.nature = 0
  268.                             each.draw(red)
  269.                             q+=1
  270.                         else :
  271.                             each.draw(black)
  272.                             q+=1
  273.                     if y == 1 :
  274.                         if q==num or q==num-1 or q==num+8 or q==num-10 or q==num+17 or q==num-19 :
  275.                             each.nature = 0
  276.                             each.draw(red)
  277.                             q+=1
  278.                         else :
  279.                             each.draw(black)
  280.                             q+=1
  281.                     if y == 0:
  282.                         if q==num :
  283.                             each.nature = 0
  284.                             each.draw(red)
  285.                             q+=1
  286.                         else :
  287.                             each.draw(black)
  288.                             q+=1
  289.                 #绘制飞机头向左时的图案
  290.                 if direction == 3:
  291.                     if 5>=x>=0 and y>=2 and y<=6:
  292.                         if q==num or q==num+9 or q==num+8 or q==num+10 or q==num+7 or q==num+11 or q==num+18 or q==num+27 or q==num+26 or q==num+28:
  293.                             each.nature = 0
  294.                             each.draw(each.color)
  295.                             q+=1
  296.                             if each.true == 0:
  297.                                 key += 1
  298.                         else :
  299.                             each.draw(black)
  300.                             q+=1
  301.                     if x>5 and y>=2 and y<=6:
  302.                         if q==num or q==num+9 or q==num+8 or q==num+10 or q==num+7 or q==num+11 or q==num+18 or q==num+27 or q==num+26 or q==num+28:
  303.                             each.nature = 0
  304.                             each.draw(red)
  305.                             q+=1
  306.                         else :
  307.                             each.draw(black)
  308.                             q+=1
  309.                     if y==1:
  310.                         if q==num or q==num+9 or q==num+8 or q==num+10  or q==num+11 or q==num+18 or q==num+27 or q==num+26 or q==num+28:
  311.                             each.nature = 0
  312.                             each.draw(red)
  313.                             q+=1
  314.                         else :
  315.                             each.draw(black)
  316.                             q+=1
  317.                     if y==0:
  318.                         if q==num or q==num+9  or q==num+10  or q==num+11 or q==num+18 or q==num+27 or q==num+28:
  319.                             each.nature = 0
  320.                             each.draw(red)
  321.                             q+=1
  322.                         else :
  323.                             each.draw(black)
  324.                             q+=1
  325.                     if y==7:
  326.                         if q==num or q==num+9 or q==num+8 or q==num+10 or q==num+7  or q==num+18 or q==num+27 or q==num+26 or q==num+28:
  327.                             each.nature = 0
  328.                             each.draw(red)
  329.                             q+=1
  330.                         else :
  331.                             each.draw(black)
  332.                             q+=1
  333.                     if y>=8:
  334.                         if q==num or q==num+9 or q==num+8 or q==num+7  or q==num+18 or q==num+27 or q==num+26:
  335.                             each.nature = 0
  336.                             each.draw(red)
  337.                             q+=1
  338.                         else :
  339.                             each.draw(black)
  340.                             q+=1
  341.                            
  342.             if event.type == MOUSEBUTTONDOWN and event.button == 1:
  343.                 if key == 10 and points<3:
  344.                     q = 0
  345.                     for each in self.map:
  346.                         if direction == 0:
  347.                             if q==num+1 or q==num-8 or q==num+10 or q==num-17 or q==num+19 or q==num+2 or q==num+3 or q==num-6 or q==num+12:
  348.                                 each.true = 1
  349.                                 each.color = color[points]
  350.                             if q == num:
  351.                                 each.true = 2
  352.                                 each.color = color[points]
  353.                             q += 1
  354.                         if direction == 1:
  355.                             if q==num-9 or q==num-8 or q==num-10 or q==num-7 or q==num-11 or q==num-18 or q==num-27 or q==num-26 or q==num-28:
  356.                                 each.true = 1
  357.                                 each.color = color[points]
  358.                             if q == num:
  359.                                 each.true = 2
  360.                                 each.color = color[points]
  361.                             q += 1
  362.                         if direction == 2:
  363.                             if  q==num-1 or q==num+8 or q==num-10 or q==num+17 or q==num-19 or q==num-2 or q==num-3 or q==num+6 or q==num-12:
  364.                                 each.true = 1
  365.                                 each.color = color[points]
  366.                             if q == num:
  367.                                 each.true = 2
  368.                                 each.color = color[points]
  369.                             q += 1
  370.                         if direction == 3:
  371.                             if  q==num+9 or q==num+8 or q==num+10 or q==num+7 or q==num+11 or q==num+18 or q==num+27 or q==num+26 or q==num+28:
  372.                                 each.true = 1
  373.                                 each.color = color[points]
  374.                             if q == num:
  375.                                 each.true = 2
  376.                                 each.color = color[points]
  377.                             q += 1
  378.                     points += 1
  379.                     
  380.             screen.blit(back,back_rect)
  381.             screen.blit(lay,lay_rect)

  382.     #互相攻击函数
  383.     def attark(self) :
  384.         
  385.         global num,turn,giveup,giveup1,giveup2

  386.         
  387.         giveup_rect = giveup1.get_rect()
  388.         giveup_rect.left,giveup_rect.top = 0,450

  389.         clock = pygame.time.Clock()
  390.         time = False
  391.         
  392.         screen.fill(white)
  393.         t = 0
  394.         for this in self.map :
  395.             if t == num :
  396.                 this.nature = 0
  397.                 this.redraw(self.set)
  398.             else :
  399.                 this.redraw(self.set)
  400.             t += 1
  401.         
  402.         for event in pygame.event.get():
  403.             if event.type == QUIT:
  404.                 pygame.quit()
  405.                 sys.exit()

  406.             if event.type == MOUSEMOTION:
  407.                 if giveup_rect.collidepoint(event.pos):
  408.                     giveup = giveup2
  409.                 else:
  410.                     giveup = giveup1
  411.                     
  412.             if event.type == MOUSEBUTTONDOWN and giveup_rect.collidepoint(event.pos):
  413.                 self.score = -100
  414.                 turn += 1
  415.                
  416.             if event.type == MOUSEMOTION or event.type == MOUSEBUTTONDOWN :
  417.                 pos = pygame.mouse.get_pos()
  418.                 x = pos[0]//50
  419.                 y = pos[1]//50
  420.                 if y==9:
  421.                     num = -100
  422.                 else :
  423.                     num = 9*x+y
  424.                     

  425.             if event.type == MOUSEBUTTONDOWN and event.button == 1:
  426.                 q = 0
  427.                 f = 0
  428.                 for this in self.map:
  429.                     if q == num and this.judge==0:
  430.                         this.judge = 1
  431.                         f = 1
  432.                         this.clean()
  433.                         this.redraw(self.set)
  434.                         pygame.display.flip()
  435.                         if this.true == 2:
  436.                             self.score += 1
  437.                     q += 1
  438.                 if f == 1:
  439.                     time = True

  440.             if event.type == MOUSEBUTTONDOWN and event.button == 3:
  441.                 q=0
  442.                 for this in self.map:
  443.                     if q == num :
  444.                         a = this
  445.                         break
  446.                     q += 1
  447.                 if a.judge == 0 :
  448.                     a.judge = 2
  449.                     a.redraw(self.set)
  450.                     pygame.display.flip()
  451.                 elif a.judge == 2 :
  452.                     a.judge = 0
  453.                     a.redraw(self.set)
  454.                     pygame.display.flip()

  455.         #延时,在攻击后不会快速跳转到下一界面            
  456.         screen.blit(giveup,giveup_rect)
  457.         if time :
  458.             for this in self.map :
  459.                 if t == num :
  460.                     this.nature = 0
  461.                     this.redraw(self.set)
  462.                 else :
  463.                     this.redraw(self.set)
  464.                 t += 1
  465.             turn += 1
  466.             time = False
  467.                         
  468.             clock.tick(1)
  469.             
  470.     #展示棋盘函数,用于游戏结束后观看棋盘
  471.     def show(self):
  472.         for this in self.map:
  473.             this.draw(black)
  474.             this.redraw(self.set)

  475.     #电脑摆放飞机函数,算法是随机数,所以电脑的飞机是随机摆放的,并无规律可循
  476.     def computer_make_plane(self):
  477.         direction = randint(0,3)
  478.         x = randint(0,8)
  479.         y = randint(0,8)
  480.         global points,cishu
  481.         cishu += 1
  482.         color=[deepskyblue,purple,green]
  483.         if y==9:
  484.             num = -100
  485.         else :
  486.             num = 9*x+y
  487.         q = 0
  488.         key = 0
  489.         for each in self.map:
  490.             if direction == 0:
  491.                 if y<6 and x>=2 and x<=6:
  492.                     if q==num or q==num+1 or q==num-8 or q==num+10 or q==num-17 or q==num+19 or q==num+2 or q==num+3 or q==num-6 or q==num+12:   
  493.                         if each.true == 0:
  494.                             key += 1
  495.             if direction == 1:
  496.                 if 8>=x>=3 and y>=2 and y<=6:
  497.                     if q==num or q==num-9 or q==num-8 or q==num-10 or q==num-7 or q==num-11 or q==num-18 or q==num-27 or q==num-26 or q==num-28:  
  498.                         if each.true == 0:
  499.                             key += 1
  500.             if direction == 2:
  501.                 if 2<=x<=6 and y>=3:
  502.                     if q==num or q==num-1 or q==num+8 or q==num-10 or q==num+17 or q==num-19 or q==num-2 or q==num-3 or q==num+6 or q==num-12:  
  503.                         if each.true == 0:
  504.                             key += 1
  505.             if direction == 3:
  506.                 if 5>=x>=0 and y>=2 and y<=6:
  507.                      if q==num or q==num+9 or q==num+8 or q==num+10 or q==num+7 or q==num+11 or q==num+18 or q==num+27 or q==num+26 or q==num+28:
  508.                         if each.true == 0:
  509.                             key += 1
  510.             q += 1
  511.                            
  512.         if key == 10 and points<3:
  513.             q = 0
  514.             for each in self.map:
  515.                 if direction == 0:
  516.                     if q==num+1 or q==num-8 or q==num+10 or q==num-17 or q==num+19 or q==num+2 or q==num+3 or q==num-6 or q==num+12:
  517.                         each.true = 1
  518.                         each.color = color[points]
  519.                     if q == num:
  520.                         each.true = 2
  521.                         each.color = color[points]
  522.                     q += 1
  523.                 if direction == 1:
  524.                     if q==num-9 or q==num-8 or q==num-10 or q==num-7 or q==num-11 or q==num-18 or q==num-27 or q==num-26 or q==num-28:
  525.                         each.true = 1
  526.                         each.color = color[points]
  527.                     if q == num:
  528.                         each.true = 2
  529.                         each.color = color[points]
  530.                     q += 1
  531.                 if direction == 2:
  532.                     if  q==num-1 or q==num+8 or q==num-10 or q==num+17 or q==num-19 or q==num-2 or q==num-3 or q==num+6 or q==num-12:
  533.                         each.true = 1
  534.                         each.color = color[points]
  535.                     if q == num:
  536.                         each.true = 2
  537.                         each.color = color[points]
  538.                     q += 1
  539.                 if direction == 3:
  540.                     if  q==num+9 or q==num+8 or q==num+10 or q==num+7 or q==num+11 or q==num+18 or q==num+27 or q==num+26 or q==num+28:
  541.                         each.true = 1
  542.                         each.color = color[points]
  543.                     if q == num:
  544.                         each.true = 2
  545.                         each.color = color[points]
  546.                     q += 1
  547.             points += 1
  548.             cishu = 0

  549.         #计数器,如果超过1000次无法成功摆放飞机,就证明当前无法放下第三架飞机,清除数据,重新摆放飞机(如果没有这个有可能陷入死循环,因为9*9格子中无法确保三架飞机无论怎么摆放都能放得下)
  550.         if cishu > 1000:
  551.             points = 0
  552.             for each in self.map:
  553.                 each.true = 0
  554.                 each.color = self.color
  555.                
  556.     #电脑攻击函数,算法为随机数,就是说此方法下电脑并不具有智能,只会随机在棋盘上进行轰炸。
  557.     def computer_attark(self):
  558.         global turn
  559.         t = turn
  560.         
  561.         while turn == t :
  562.             x = randint(0,8)
  563.             y = randint(0,8)
  564.             if y==9:
  565.                 num = -100
  566.             else :
  567.                 num = 9*x+y

  568.             clock = pygame.time.Clock()
  569.             time = False
  570.             
  571.             screen.fill(white)
  572.         
  573.             for this in self.map :
  574.                 this.redraw(self.set)
  575.             
  576.             q = 0
  577.             f = 0
  578.             for this in self.map:
  579.                 if q == num and this.judge==0:
  580.                     this.judge = 1
  581.                     f = 1
  582.                     this.clean()
  583.                     this.redraw(self.set)
  584.                     pygame.display.flip()
  585.                     if this.true == 2:
  586.                         self.score += 1
  587.                 q += 1
  588.                 if f == 1:
  589.                     time = True
  590.                     
  591.             if time :
  592.                 for this in self.map :   
  593.                     this.redraw(self.set)
  594.                 turn += 1
  595.                 time = False
  596.                            
  597.                 clock.tick(1)
  598.                

  599.     def computer_attark_main(self):
  600.         global turn,body,miss
  601.         andm = [0]
  602.         andm= [0]*81
  603.         pop = []

  604.         for each in final:
  605.             gi = 0
  606.             fi = 0
  607.             for im in range(81):
  608.                 if self.map[im].judge == 1:
  609.                     gi += 1
  610.                     if self.map[im].true == each[im]:
  611.                         fi += 1
  612.             if gi == fi :
  613.                 pop.append(each)

  614.         for each in pop:
  615.             inti = 0
  616.             for this in each:
  617.                 if this == 2:
  618.                     andm[inti] += 100
  619.                 if this == 1:
  620.                     andm[inti] += body
  621.                 if this == 0:
  622.                     andm[inti] -= miss
  623.                 inti += 1
  624.                
  625.         
  626.         a = max(andm)
  627.         num = andm.index(a)

  628.         while self.map[num].judge == 1:
  629.             andm[num] = 0
  630.             a = max(andm)
  631.             num = andm.index(a)

  632.         if turn == 2:
  633.             it = randint(0,3)
  634.             numku = [30,32,48,50]
  635.             num = numku[it]
  636.             

  637.         clock = pygame.time.Clock()
  638.         time = False
  639.             
  640.         screen.fill(white)
  641.         
  642.         for this in self.map :
  643.             this.redraw(self.set)
  644.             
  645.         q = 0
  646.         f = 0
  647.         for this in self.map:
  648.             if q == num and this.judge==0:
  649.                 this.judge = 1
  650.                 f = 1
  651.                 this.clean()
  652.                 this.redraw(self.set)
  653.                 pygame.display.flip()
  654.                 if this.true == 2:
  655.                     self.score += 1
  656.             q += 1
  657.             if f == 1:
  658.                 time = True
  659.                     
  660.         if time :
  661.             for this in self.map :   
  662.                 this.redraw(self.set)
  663.             turn += 1
  664.             time = False
  665.                            
  666.             clock.tick(1)
  667.             
  668.     '''调试函数,求出不同加权值下电脑主要攻击算法赢得胜利所需的
  669. 平均步数
  670. '''
  671.     def tiaoshi(self,body,miss):
  672.         
  673.         global turn
  674.         andm = [0]
  675.         andm= [0]*81
  676.         pop = []
  677.         
  678.         for each in final:
  679.             gi = 0
  680.             fi = 0
  681.             for im in range(81):
  682.                 if self.map[im].judge == 1:
  683.                     gi += 1
  684.                     if self.map[im].true == each[im]:
  685.                         fi += 1
  686.             if gi == fi :
  687.                 pop.append(each)

  688.         for each in pop:
  689.             inti = 0
  690.             for this in each:
  691.                 if this == 2:
  692.                     andm[inti] += 100
  693.                 if this == 1:
  694.                     andm[inti] += body
  695.                 if this == 0:
  696.                     andm[inti] -= miss
  697.                 inti += 1

  698.         a = max(andm)
  699.         num = andm.index(a)

  700.         while self.map[num].judge == 1:
  701.             andm[num] = 0
  702.             a = max(andm)
  703.             num = andm.index(a)

  704.         q = 0

  705.         for this in self.map:
  706.             if q == num and this.judge==0:
  707.                 this.judge = 1
  708.                 if this.true == 2:
  709.                     self.score += 1
  710.             q += 1

  711. #导入电脑主要算法资源,将所有飞机摆放情况map从文件提取出来,并存储到列表final中
  712. wenjian = open("map.txt",'rb')
  713. final = pickle.load(wenjian)
  714. wenjian.close()


复制代码


另两个模块主要用于调试,暂时不附上了。

截图和全部源码链接如下:链接:https://pan.baidu.com/s/1U6oeCqEqiXZb3Kqcsjohhw
提取码:zf00


萌新初来乍到,感谢您的支持和鼓励!

如有不足之处,敬请指正!


(上次技术原因,仅附上了一个链接,在此道歉,此次编辑,望多多支持!)

评分

参与人数 1荣誉 +1 鱼币 +1 收起 理由
开心小傻猪 + 1 + 1 鱼C有你更精彩^_^

查看全部评分

本帖被以下淘专辑推荐:

  • · Python|主题: 247, 订阅: 52
小甲鱼最新课程 -> https://ilovefishc.com
回复

使用道具 举报

发表于 2020-7-20 10:54:12 | 显示全部楼层
可以图床上传网络图片:
打开这个网址上传  路过图床
拷贝图中黑框位置的网址
图像 1.png
切回论坛,在高级编辑模式里点[图片] -> [网络图片]
宽高可不填,只填刚才拷贝的网址就行

小甲鱼最新课程 -> https://ilovefishc.com
回复 支持 反对

使用道具 举报

 楼主| 发表于 2020-7-20 11:22:41 | 显示全部楼层
我真的是个好人 发表于 2020-7-20 10:54
可以图床上传网络图片:
打开这个网址上传  路过图床
拷贝图中黑框位置的网址

学到了,十分感谢
小甲鱼最新课程 -> https://ilovefishc.com
回复 支持 反对

使用道具 举报

发表于 2020-7-20 11:29:56 | 显示全部楼层
昨非 发表于 2020-7-20 11:22
学到了,十分感谢

小甲鱼最新课程 -> https://ilovefishc.com
回复 支持 反对

使用道具 举报

发表于 2020-7-21 19:28:53 | 显示全部楼层
厉害
小甲鱼最新课程 -> https://ilovefishc.com
回复

使用道具 举报

 楼主| 发表于 2020-7-21 19:29:30 | 显示全部楼层
谢谢,一起加油吧
小甲鱼最新课程 -> https://ilovefishc.com
回复 支持 反对

使用道具 举报

 楼主| 发表于 2020-8-16 11:44:45 | 显示全部楼层
新作了编辑,代码很长,也比较乱,见谅
小甲鱼最新课程 -> https://ilovefishc.com
回复 支持 反对

使用道具 举报

发表于 2020-8-16 12:28:09 | 显示全部楼层
你管这叫“萌新”????
小甲鱼最新课程 -> https://ilovefishc.com
回复 支持 反对

使用道具 举报

 楼主| 发表于 2020-8-16 12:30:15 | 显示全部楼层
别骂了别骂了
小甲鱼最新课程 -> https://ilovefishc.com
回复 支持 1 反对 0

使用道具 举报

发表于 2020-8-16 14:26:59 | 显示全部楼层
这。。。那么长 厉害了 ,一脸懵路过
小甲鱼最新课程 -> https://ilovefishc.com
回复 支持 反对

使用道具 举报

 楼主| 发表于 2020-8-16 18:33:06 | 显示全部楼层
jekin3017 发表于 2020-8-16 14:26
这。。。那么长 厉害了 ,一脸懵路过

其实我自己冷不丁再看也是一脸懵逼(小声)
小甲鱼最新课程 -> https://ilovefishc.com
回复 支持 反对

使用道具 举报

发表于 2020-8-16 22:47:34 | 显示全部楼层
再试一次
小甲鱼最新课程 -> https://ilovefishc.com
回复 支持 反对

使用道具 举报

发表于 2020-8-17 09:00:41 | 显示全部楼层
哇塞大佬
小甲鱼最新课程 -> https://ilovefishc.com
回复 支持 反对

使用道具 举报

发表于 2020-8-18 17:04:52 | 显示全部楼层
还不中
小甲鱼最新课程 -> https://ilovefishc.com
回复 支持 反对

使用道具 举报

 楼主| 发表于 2020-8-18 17:07:23 | 显示全部楼层

兄弟你想鱼币想疯了吧,,,这儿没回帖奖励
小甲鱼最新课程 -> https://ilovefishc.com
回复 支持 反对

使用道具 举报

发表于 2020-8-18 17:08:17 | 显示全部楼层
昨非 发表于 2020-8-18 17:07
兄弟你想鱼币想疯了吧,,,这儿没回帖奖励

啊,尴尬
小甲鱼最新课程 -> https://ilovefishc.com
回复 支持 反对

使用道具 举报

发表于 2020-8-20 11:29:01 | 显示全部楼层
昨非 发表于 2020-7-20 11:22
学到了,十分感谢


                               
登录/注册后可看大图
小甲鱼最新课程 -> https://ilovefishc.com
回复 支持 反对

使用道具 举报

发表于 2020-8-20 11:30:08 | 显示全部楼层


                               
登录/注册后可看大图
小甲鱼最新课程 -> https://ilovefishc.com
回复 支持 反对

使用道具 举报

 楼主| 发表于 2020-8-20 11:47:13 | 显示全部楼层
小甲鱼最新课程 -> https://ilovefishc.com
回复 支持 反对

使用道具 举报

发表于 2020-8-20 11:52:32 | 显示全部楼层

学会了,感谢!
小甲鱼最新课程 -> https://ilovefishc.com
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|手机版|Archiver|鱼C工作室 ( 粤ICP备18085999号-1 | 粤公网安备 44051102000585号)

GMT+8, 2025-6-25 22:50

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表