• 【C#实战】控制台游戏 勇士斗恶龙(3)——营救公主以及结束界面


    在这里插入图片描述

    君兮_的个人主页

    即使走的再远,也勿忘启程时的初心

    C/C++ 游戏开发

    Hello,米娜桑们,这里是君兮_,最近开始正式的步入学习游戏开发的正轨,想要通过写博客的方式来分享自己学到的知识和经验,这就是开设本专栏的目的。希望这些独立的C#小项目能对做游戏的你有所帮助,毕竟学会游戏开发的最好的上手方式就是自己做一款游戏!!

    前言

    • 今天我们接着来讲勇士斗恶龙的第三部分,也是最后一部分,打败恶龙营救公主的逻辑以及结束界面的相关逻辑
    • 还是先把咱们游戏的整体流程图放在这里
      在这里插入图片描述

    战胜恶龙以后

    • 有关玩家未能通过恶龙的试炼进入退出游戏界面和营救公主成功后进入退出游戏界面我们之后放到一块说,首先我们先来讲讲如何来营救公主

    营救公主

    • 如果勇士足够勇敢又有足够的运气战胜了恶龙,下面我们就可以去营救公主了,首先,我们这里有这样一个条件,当BOSS的hp还没减为0,公主是不能出现在游戏画面中的,只有BOSS的hp减为0,我们才能在游戏画面上标注公主的位置,同时,由于我们击败了恶龙,应该不再让表示BOSS的图标继续出现在画面中,这些,我们在上回的游戏逻辑中都已经用到了,但由于上回的重点在于玩家移动和战斗逻辑,我们并没有展开细讲,下面我们通过这部分代码来回顾一下
     
          //hp>0时,boss活着才绘制
           if (bossHp > 0)
      {
          Console.SetCursorPosition(bossX, bossY);
          Console.ForegroundColor = bossColor;
          Console.Write(bossIcon);
        }
      #region 6 公主显示
      //公主显示
       else
      {
         Console.SetCursorPosition(princessX,princessY);
    	Console.ForegroundColor = princessColor;
     	Console.Write(princessIcon);
     }
        #endregion
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11
    • 12
    • 13
    • 14
    • 15
    • 16
    • 17
    //擦除BOSS
     else if(bossHp<=0)
     {
         //去营救公主
         //boss擦除
         Console.SetCursorPosition(bossX, bossY);
         Console.Write("  ");
         isFight = false;
         continue;
         
     }
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11
    • 有关公主的初始化,只需要设置一下公主所在的位置,公主的图标以及图标的颜色就行,这里不再赘述。另外,这里是为了讲解拆分出来的,实际不是一段连贯的代码,最后我会把完整的源码放出,大家理解这部分讲的内容即可。

    如何营救公主

    • 我们是一款控制台小游戏,同时我这里只是为大家讲一个大的游戏框架,因此一切从简,这里我们来到公主身边并按J键就能营救公主了(当然,这里营救公主也可以设计的比较复杂,比如公主的位置可以是一个随机数,你每营救一次她就会移动到别的地方,营救三次才算成功等等,总之,这些地方都可以按照你自己的想法来自定义,没有具体的要求)
    case 'j':
    case 'J':
     //判断是否在公主身边
     else if (((playerX == princessX && playerY == princessY - 1) || (playerX == princessX && playerY == princessY + 1) ||
         (playerX == princessX - 2 && princessY == playerY) || (playerX == princessX + 2 && playerY == princessY)) && bossHp <= 0)
     { 
         nowSceneID = 3;//修改场景选择ID进入退出界面
     	nowEndIndex = "恭喜你救出公主";//这个提示语在之后结束界面会用到
     
     	//跳出while循环,回到主循环
     	isOver = true;
         
     }
     break;
     }
     if (isOver)
    {
        //此时的break与while配对
        break;
    }
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11
    • 12
    • 13
    • 14
    • 15
    • 16
    • 17
    • 18
    • 19
    • 20
    • 由于这里是在while循环中,我们需要重新进入场景选择的switch语句中,因此定义了一个isOver来辅助我们退出循环重新选择场景

    游戏结束界面

    • 进入游戏结束界面有两种情况,第一种情况就是营救出了公主,如上所说,第二种情况就是我们的勇士未能击败恶龙,此时也应该进入游戏结束界面
    //在这判断玩家或者怪物是否死亡,如果死了,继续后面的流程
    if(playerHp<=0)
    {
        //游戏结束
        //游戏结束画面
        isOver = true;
        nowSceneID = 3;
    	nowEndIndex = "很遗憾你被恶龙击败了";
    	endSay = 1;
        break;
    }
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11
    • 解释一下,这里的nowEndIndex和endSay,在上面的营救公主成功后也有一个nowEndIndex,当时定义的是“恭喜你救出公主”,我们在进入结束界面时,需要给玩家一个提示,到底是失败了,还是成功救出公主,这个就是在结束界面打印的不同的语句用来提示玩家游戏结果的,同时,这两段提示的字数不同,我们为了保证这两段话都能居中显示,因此定义了一个endSay,通过它的值来判断我们这段文字需要打印的位置。
    • 而有关其他的,结束界面和开始界面是非常类似的,我们直接来看看相关的代码
        case 3:
            Console.Clear();
            int nowEndSelIndex = 0;
            
            while (true)
            {
                bool EndQuitWhile = false;
                Console.SetCursorPosition(w / 2 - 4, 5);
    
                Console.ForegroundColor = ConsoleColor.White;
                Console.Write("GameOver");
                if(endSay==1)
                Console.SetCursorPosition(w / 2 - 8,7);
                else
                Console.SetCursorPosition(w / 2 - 6,7);
                Console.ForegroundColor = ConsoleColor.DarkRed;
                Console.Write(nowEndIndex);
                Console.ForegroundColor=nowEndSelIndex==0?ConsoleColor.Red:ConsoleColor.White;
                Console.SetCursorPosition(w / 2 - 4, 10);
                Console.Write("继续游戏");
                Console.ForegroundColor = nowEndSelIndex == 0 ? ConsoleColor.White : ConsoleColor.Red;
                Console.SetCursorPosition(w / 2 - 4, 12);
                Console.Write("退出游戏");
                char endInput=Console.ReadKey(true).KeyChar;
                switch (endInput)
                {
                    case 'w':
                    case 'W':
                        Console.Clear();
                        nowEndSelIndex = 0;
                        break;
                    case 's':
                    case 'S':
                        Console.Clear();
                        nowEndSelIndex = 1;
                        break;
                    case 'j':
                    case 'J':
                        if (nowEndSelIndex == 1)
                            Environment.Exit(0);
                        else
                        {
                            nowSceneID = 1;
                            EndQuitWhile = true;
                        }
                        break;
    
                }
                if(EndQuitWhile)
                {
                    break;
                }
    
            }
            break;
    }
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11
    • 12
    • 13
    • 14
    • 15
    • 16
    • 17
    • 18
    • 19
    • 20
    • 21
    • 22
    • 23
    • 24
    • 25
    • 26
    • 27
    • 28
    • 29
    • 30
    • 31
    • 32
    • 33
    • 34
    • 35
    • 36
    • 37
    • 38
    • 39
    • 40
    • 41
    • 42
    • 43
    • 44
    • 45
    • 46
    • 47
    • 48
    • 49
    • 50
    • 51
    • 52
    • 53
    • 54
    • 55
    • 56
    • 当玩家在退出游戏高亮时按下“J”键,直接就退出游戏了,当玩家想要继续游戏,我们就要把游戏场景切换到开始游戏界面,因此这里的EndQuitWhile也是用来辅助我们重新进入游戏场景切换循环的,至于其他的,与开始界面是一模一样的,就不多赘述了。

    整体游戏的源码

    • 好了,到这里这个控制台小游戏就讲的差不多了,下面为大家提供该游戏的源码以及游戏截图,方便大家查阅和试玩
    using System;
    using System.Diagnostics;
    using System.Runtime.Intrinsics.X86;
    
    namespace 王子救公主
    {
        class Program
        {
            static void Main(string[] args)
            {
                //隐藏光标
                Console.CursorVisible = false;
                //设置舞台的大小
                int w = 60;
                int h = 40;
                Console.SetWindowSize(w,h);
                Console.SetBufferSize(w,h);
                //当前场景的编号
                int nowSceneID = 1;
                string nowEndIndex ="";
                int endSay = 0;
                while (true)
                {
                    //不同的场景进行不同的逻辑处理
                    switch (nowSceneID)
                    {
                        case 1:
                            Console.Clear();
                            #region  1 开始界面
                            Console.SetCursorPosition(w/2-5,10);
                            Console.WriteLine("勇士斗恶龙");
                            //当前选项的编号
                            int nowSelIndex = 0;
                            //因为要输入 我们可以构造一个开始界面的死循环
                            //专门用来处理 开始场景相关的逻辑
                            while (true)
                            {
                                //用一个标识用来退出此循环
                                bool isQuitWhile=false;
                                //显示内容检测输入
                                //设置光标位置,再显示内容
                                Console.SetCursorPosition(w/2-4,12);
                                //根据当前选择的编号来决定是否变色
                                Console.ForegroundColor = nowSelIndex == 0 ? ConsoleColor.Red : ConsoleColor.White;
                                Console.Write("开始游戏");
                                Console.SetCursorPosition(w / 2 - 4, 14);
                                Console.ForegroundColor = nowSelIndex == 1 ? ConsoleColor.Red : ConsoleColor.White;
                                Console.Write("退出游戏");
                                //检查玩家输入的键并且不会在控制台上显示输入内容
                                char input = Console.ReadKey(true).KeyChar;
                                switch (input)
                                {
                                    case 'W':
                                    case 'w':
                                        nowSelIndex = 0;
    
                                        break;
                                    case 'S':
                                    case 's':
                                        nowSelIndex = 1;
                                      
                                        break;
                                    case 'j':
                                    case 'J':
                                        if(nowSelIndex == 0)
                                        {
                                            //1.改变场景ID
                                            nowSceneID = 2;
                                            //2.要退出内层循环while
                                            isQuitWhile = true;
                                        }
                                        else
                                        {
                                            //关闭控制台
                                            Environment.Exit(0);
                                        }
                                        break;
                                }
    
                                if (isQuitWhile == true)
                                    break;
    
                            }
                        #endregion
                            break;
                        case 2:
                            Console.Clear();
                            #region 2 红墙
                            Console.ForegroundColor = ConsoleColor.Red;
                            //画墙
                            //设为红色
                            int i = 0;
                            //横墙
                            for(i = 0; i < w;i+=2)
                            {
                                Console.SetCursorPosition(i, 0);
                                Console.Write('■');
                                Console.SetCursorPosition(i, h-1);
                                Console.Write('■');
                                Console.SetCursorPosition(i, h-9);
                                Console.Write('■');
                            }
                            //竖墙
                            int j = 0;
                            for (j = 0; j <h; j++)
                            {
                                Console.SetCursorPosition(0, j);
                                Console.Write('■');
                                Console.SetCursorPosition(w-2,j);
                                Console.Write('■');
                              
                            }
                            #endregion
                            #region
                            #region 3 Boss属性相关
                            int bossX = 24;
                            int bossY = 15;
                            int bossAtkMin = 7;
                            int bossAtkMax = 13;
                            int bossHp = 100;
                            string bossIcon = "●";
                            //申明一个颜色变量
                            ConsoleColor bossColor = ConsoleColor.Red;
                            #endregion
                            
                            #region 4 玩家属性相关
                            int playerX = 4;
                            int playerY = 5;
                            int playerAtkMin = 7;
                            int playerAtkMax = 13;
                            int playerHp = 100;
                            string playerIcon = "●";
                            ConsoleColor playerColor = ConsoleColor.Green;
                            //公主相关
                            int princessX = 24;
                            int princessY = 5;
                            string princessIcon = "▲";
                            ConsoleColor princessColor = ConsoleColor.Blue;
                            char playerInput;
    
                            #endregion
                            #region 5 玩家战斗相关
                            bool isFight = false;
                            //游戏结束
                            bool isOver=false;
                            #endregion
                            //游戏场景的死循环 专门用来 检测玩家的输入相关的循环
                            while (true)
                            {
                               
                                //画出玩家
                                Console.SetCursorPosition(playerX, playerY);
                                Console.ForegroundColor= playerColor;
                                Console.Write(playerIcon);
                                //不停的输入wasd键 都可以控制它移动                          
                                
                                    //hp>0时,boss活着才绘制
                                    if (bossHp > 0)
                                    {
                                        Console.SetCursorPosition(bossX, bossY);
                                        Console.ForegroundColor = bossColor;
                                        Console.Write(bossIcon);
                                    }
                                    #region 6 公主显示
                                    //公主显示
                                    else
                                    {
                                        Console.SetCursorPosition(princessX, princessY);
                                        Console.ForegroundColor = princessColor;
                                        Console.Write(princessIcon);
    
                                    }
                                    #endregion
                                    Console.SetCursorPosition(playerX, playerY);
                                    Console.ForegroundColor= playerColor;
                                    Console.Write(playerIcon);
                                    //玩家输入
                                    playerInput = Console.ReadKey(true).KeyChar;
                                    if(isFight)
                                    {
                                        //如果是战斗状态
                                        //只会处理j键
                                        if(playerInput=='j'||playerInput=='J')
                                        {
                                            //在这判断玩家或者怪物是否死亡,如果死了,继续后面的流程
                                            if(playerHp<=0)
                                            {
                                                //游戏结束
                                                //游戏结束画面
                                                isOver = true;
                                                nowSceneID = 3;
                                            nowEndIndex = "很遗憾你被恶龙击败了";
                                            endSay = 1;
                                                break;
                                            }
                                            else if(bossHp<=0)
                                            {
                                                //去营救公主
                                                //boss擦除
                                                Console.SetCursorPosition(bossX, bossY);
                                                Console.Write("  ");
                                                isFight = false;
                                                continue;
                                                
                                            }
    
                                            //玩家打怪物
                                            Random r= new Random();
                                            int atk = r.Next(playerAtkMin,playerAtkMax);
                                            bossHp -= atk;
                                            Console.ForegroundColor=ConsoleColor.Green;
                                            Console.SetCursorPosition(2, h - 7);
                                            Console.Write("                                            ");
                                            if (bossHp <= 0)
                                            {
                                                
                                                //擦除
                                                Console.SetCursorPosition(2, h - 6);
                                                Console.Write("                                            ");
                                                Console.SetCursorPosition(2, h - 7);
                                                Console.Write("                                            ");
                                                Console.SetCursorPosition(2, h - 8);
                                                Console.Write("                                            ");
                                                Console.SetCursorPosition(2, h - 8);
                                                Console.Write("你发动了致命一击造成了{0},恭喜你击败了恶龙", atk);
                                               
                                                Console.ForegroundColor = ConsoleColor.Red;
                                                Console.SetCursorPosition(2, h - 7);
                                                Console.Write("快去营救公主!!!,按J键继续");
                                                
                                                
                                            }
                                            else
                                            {
                                                Console.SetCursorPosition(2, h - 7);
                                                Console.Write("勇士对恶龙造成了{0}点伤害,此时恶龙还有{1}血", atk, bossHp);
                                                //怪兽打玩家
                                                atk = r.Next(bossAtkMin, bossAtkMax);
                                                playerHp -= atk;
                                                Console.ForegroundColor = ConsoleColor.Red;
                                                Console.SetCursorPosition(2, h - 6);
                                                Console.Write("                                         ");
                                                
                                                //Boss打死玩家
                                                if(playerHp<=0)
                                                {
                                                    
                                                    Console.SetCursorPosition(2, h - 6);
                                                    Console.Write("很遗憾,你未能战胜恶龙");
                                                    
                                                }
                                                else
                                                {
                                                    Console.SetCursorPosition(2, h - 6);
                                                    Console.Write("恶龙对勇士造成了{0}点伤害,此时你还有{1}血", atk, playerHp);
                                                }
                                            }
                                           
                                        }
    
                                    }
                                    else
                                    {
                                        #region 6 玩家移动相关
                                        //擦除
    
                                        Console.SetCursorPosition(playerX, playerY);
                                        Console.Write("  ");
    
                                        switch (playerInput)
                                        {
                                            //贯穿
                                            case 'a':
                                            case 'A':
                                                playerX -= 2;
                                                if (playerX < 2)
                                                    playerX = 2;
                                                else if (playerX == bossX && playerY == bossY && bossHp > 0)
                                                    playerX += 2;
                                                else if (playerX == princessX && playerY == princessY && bossHp <= 0)
                                                    playerX += 2;
                                                break;
                                            case 'w':
                                            case 'W':
                                                playerY--;
                                                if (playerY < 1)
                                                    playerY++;
                                                else if (playerX == bossX && playerY == bossY && bossHp > 0)
                                                    playerY++;
                                                else if (playerX == princessX && princessY == playerY && bossHp <= 0)
                                                    playerY++;
    
                                                break;
                                            case 's':
                                            case 'S':
    
                                                playerY++;
                                                if (playerY > h - 10)
                                                    playerY--;
                                                else if (playerX == bossX && playerY == bossY && bossHp > 0)
                                                    playerY--;
                                                else if (playerX == princessX && playerY == princessY && bossHp <= 0)
                                                    playerY--;
    
                                                break;
                                            case 'd':
                                            case 'D':
                                                playerX += 2;
                                                if (playerX > w - 4)
                                                    playerX -= 2;
                                                else if (playerX == bossX && playerY == bossY && bossHp > 0)
                                                    playerX -= 2;
                                                else if (playerX == princessX && playerY == princessY && bossHp <= 0)
                                                    playerX -= 2;
                                                break;
                                            case 'j':
                                            case 'J':
                                                //开始战斗
                                                if (((playerX == bossX && playerY == bossY - 1) || (playerX == bossX && playerY == bossY + 1) ||
                                                    (playerX == bossX - 2 && playerY == bossY) || (playerX == bossX + 2 && playerY == bossY)) && bossHp > 0)
                                                {
                                                    isFight = true;
                                                    //可以开始战斗了
                                                    Console.SetCursorPosition(2, h - 8);
                                                    Console.ForegroundColor = ConsoleColor.White;
                                                    Console.Write("你开始和恶龙战斗了,按J键继续");
    
    
                                                }
                                                //判断是否在公主身边
                                                else if (((playerX == princessX && playerY == princessY - 1) || (playerX == princessX && playerY == princessY + 1) ||
                                                    (playerX == princessX - 2 && princessY == playerY) || (playerX == princessX + 2 && playerY == princessY)) && bossHp <= 0)
                                                { 
                                                    nowSceneID = 3;
                                                nowEndIndex = "恭喜你救出公主";
                                                
                                                //跳出while循环,回到主循环
                                                isOver = true;
                                                    
                                                }
                                                    break;
                                        }
                                    }
                                    if (isOver)
                                    {
                                        //此时的break与while配对
                                        break;
                                    }
    
    
                                }                       
                             
                            break;
                       
                        case 3:
                            Console.Clear();
                            int nowEndSelIndex = 0;
                            
                            while (true)
                            {
                                bool EndQuitWhile = false;
                                Console.SetCursorPosition(w / 2 - 4, 5);
    
                                Console.ForegroundColor = ConsoleColor.White;
                                Console.Write("GameOver");
                                if(endSay==1)
                                Console.SetCursorPosition(w / 2 - 8,7);
                                else
                                Console.SetCursorPosition(w / 2 - 6,7);
                                Console.ForegroundColor = ConsoleColor.DarkRed;
                                Console.Write(nowEndIndex);
                                Console.ForegroundColor=nowEndSelIndex==0?ConsoleColor.Red:ConsoleColor.White;
                                Console.SetCursorPosition(w / 2 - 4, 10);
                                Console.Write("继续游戏");
                                Console.ForegroundColor = nowEndSelIndex == 0 ? ConsoleColor.White : ConsoleColor.Red;
                                Console.SetCursorPosition(w / 2 - 4, 12);
                                Console.Write("退出游戏");
                                char endInput=Console.ReadKey(true).KeyChar;
                                switch (endInput)
                                {
                                    case 'w':
                                    case 'W':
                                        Console.Clear();
                                        nowEndSelIndex = 0;
                                        break;
                                    case 's':
                                    case 'S':
                                        Console.Clear();
                                        nowEndSelIndex = 1;
                                        break;
                                    case 'j':
                                    case 'J':
                                        if (nowEndSelIndex == 1)
                                            Environment.Exit(0);
                                        else
                                        {
                                            nowSceneID = 1;
                                            EndQuitWhile = true;
                                        }
                                        break;
    
                                }
                                if(EndQuitWhile)
                                {
                                    break;
                                }
    
                            }
                            break;
                    }
                }
                
    
    
                }
        }
        #endregion
    
    }
    
    #endregion
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11
    • 12
    • 13
    • 14
    • 15
    • 16
    • 17
    • 18
    • 19
    • 20
    • 21
    • 22
    • 23
    • 24
    • 25
    • 26
    • 27
    • 28
    • 29
    • 30
    • 31
    • 32
    • 33
    • 34
    • 35
    • 36
    • 37
    • 38
    • 39
    • 40
    • 41
    • 42
    • 43
    • 44
    • 45
    • 46
    • 47
    • 48
    • 49
    • 50
    • 51
    • 52
    • 53
    • 54
    • 55
    • 56
    • 57
    • 58
    • 59
    • 60
    • 61
    • 62
    • 63
    • 64
    • 65
    • 66
    • 67
    • 68
    • 69
    • 70
    • 71
    • 72
    • 73
    • 74
    • 75
    • 76
    • 77
    • 78
    • 79
    • 80
    • 81
    • 82
    • 83
    • 84
    • 85
    • 86
    • 87
    • 88
    • 89
    • 90
    • 91
    • 92
    • 93
    • 94
    • 95
    • 96
    • 97
    • 98
    • 99
    • 100
    • 101
    • 102
    • 103
    • 104
    • 105
    • 106
    • 107
    • 108
    • 109
    • 110
    • 111
    • 112
    • 113
    • 114
    • 115
    • 116
    • 117
    • 118
    • 119
    • 120
    • 121
    • 122
    • 123
    • 124
    • 125
    • 126
    • 127
    • 128
    • 129
    • 130
    • 131
    • 132
    • 133
    • 134
    • 135
    • 136
    • 137
    • 138
    • 139
    • 140
    • 141
    • 142
    • 143
    • 144
    • 145
    • 146
    • 147
    • 148
    • 149
    • 150
    • 151
    • 152
    • 153
    • 154
    • 155
    • 156
    • 157
    • 158
    • 159
    • 160
    • 161
    • 162
    • 163
    • 164
    • 165
    • 166
    • 167
    • 168
    • 169
    • 170
    • 171
    • 172
    • 173
    • 174
    • 175
    • 176
    • 177
    • 178
    • 179
    • 180
    • 181
    • 182
    • 183
    • 184
    • 185
    • 186
    • 187
    • 188
    • 189
    • 190
    • 191
    • 192
    • 193
    • 194
    • 195
    • 196
    • 197
    • 198
    • 199
    • 200
    • 201
    • 202
    • 203
    • 204
    • 205
    • 206
    • 207
    • 208
    • 209
    • 210
    • 211
    • 212
    • 213
    • 214
    • 215
    • 216
    • 217
    • 218
    • 219
    • 220
    • 221
    • 222
    • 223
    • 224
    • 225
    • 226
    • 227
    • 228
    • 229
    • 230
    • 231
    • 232
    • 233
    • 234
    • 235
    • 236
    • 237
    • 238
    • 239
    • 240
    • 241
    • 242
    • 243
    • 244
    • 245
    • 246
    • 247
    • 248
    • 249
    • 250
    • 251
    • 252
    • 253
    • 254
    • 255
    • 256
    • 257
    • 258
    • 259
    • 260
    • 261
    • 262
    • 263
    • 264
    • 265
    • 266
    • 267
    • 268
    • 269
    • 270
    • 271
    • 272
    • 273
    • 274
    • 275
    • 276
    • 277
    • 278
    • 279
    • 280
    • 281
    • 282
    • 283
    • 284
    • 285
    • 286
    • 287
    • 288
    • 289
    • 290
    • 291
    • 292
    • 293
    • 294
    • 295
    • 296
    • 297
    • 298
    • 299
    • 300
    • 301
    • 302
    • 303
    • 304
    • 305
    • 306
    • 307
    • 308
    • 309
    • 310
    • 311
    • 312
    • 313
    • 314
    • 315
    • 316
    • 317
    • 318
    • 319
    • 320
    • 321
    • 322
    • 323
    • 324
    • 325
    • 326
    • 327
    • 328
    • 329
    • 330
    • 331
    • 332
    • 333
    • 334
    • 335
    • 336
    • 337
    • 338
    • 339
    • 340
    • 341
    • 342
    • 343
    • 344
    • 345
    • 346
    • 347
    • 348
    • 349
    • 350
    • 351
    • 352
    • 353
    • 354
    • 355
    • 356
    • 357
    • 358
    • 359
    • 360
    • 361
    • 362
    • 363
    • 364
    • 365
    • 366
    • 367
    • 368
    • 369
    • 370
    • 371
    • 372
    • 373
    • 374
    • 375
    • 376
    • 377
    • 378
    • 379
    • 380
    • 381
    • 382
    • 383
    • 384
    • 385
    • 386
    • 387
    • 388
    • 389
    • 390
    • 391
    • 392
    • 393
    • 394
    • 395
    • 396
    • 397
    • 398
    • 399
    • 400
    • 401
    • 402
    • 403
    • 404
    • 405
    • 406
    • 407
    • 408
    • 409
    • 410
    • 411
    • 412
    • 413
    • 414
    • 415
    • 416
    • 417
    • 418
    • 419
    • 420
    • 421

    在这里插入图片描述
    在这里插入图片描述

    在这里插入图片描述
    在这里插入图片描述
    在这里插入图片描述

    总结

    新人博主创作不易,如果感觉文章内容对你有所帮助的话不妨三连一下再走呗。你们的支持就是我更新的动力!!!

    **(可莉请求你们三连支持一下博主!!!点击下方评论点赞收藏帮帮可莉吧)**

    在这里插入图片描述

  • 相关阅读:
    注释之背后:代码的解释者与保护者
    Spring的Environment
    现状分析:“一云多芯”如何推动信创项目快速部署
    NISP和CISP中的网络安全设备运维体系建设
    vue实战入门后台篇九:springboot+mybatis实现网站后台-代码整合及重构优化
    文件包含漏洞和hash破解
    Dll文件注册器 - 开源研究系列文章 - 个人小作品
    【SpringBoot】 环境准备
    【Linux】定期切割 catalina.out 和 log 日志
    国产操作系统麒麟v10中遇到的一些问题
  • 原文地址:https://blog.csdn.net/syf666250/article/details/132761437