全部评论 4

  • 2025-10-14 来自 浙江

    1
  • #include<bits/stdc++.h>
    #include<windows.h>
    #include<conio.h>
    #include <iostream>
    using namespace std;
    class Color {
    private:
    HANDLE hConsole;
    WORD defaultColor;
    public:
    Color() {
    hConsole = GetStdHandle(STD_OUTPUT_HANDLE);
    CONSOLE_SCREEN_BUFFER_INFO info;
    GetConsoleScreenBufferInfo(hConsole, &info);
    defaultColor = info.wAttributes;
    }

    void set(int color) {
    SetConsoleTextAttribute(hConsole, color);
    }

    void reset() {
    SetConsoleTextAttribute(hConsole, defaultColor);
    }

    // 常用颜色
    void red() { set(12); }
    void green() { set(10); }
    void white() { set(7); }
    void black() { set(0); }
    void lan() { set(1); }
    void lv() { set(2); }
    void qianlv() { set(3); }
    void hong() { set(4); }
    void zi() { set(5); }
    void zz() { set(8); }
    void huang() { set(6); }
    };
    int mai0(int fvsjhdvhjsd)
    {
    Color color;
    char l[17][17];
    srand(time(0));
    int ans=0;
    printf(" ");
    Sleep(300);
    printf("猛");
    Sleep(300);
    printf("攻");
    Sleep(300);
    printf(" ");
    Sleep(300);
    printf("&&");
    Sleep(300);

    printf(" ");
    Sleep(300);
    printf("扫");
    Sleep(300);
    printf("雷");
    Sleep(300);
    printf("\n");
    Sleep(300);
    printf(" ");
    Sleep(300);
    printf("原");
    Sleep(300);
    printf("创:");
    color.red(); // 设置为红色

    Sleep(300);
    printf("Z");
    Sleep(300);
    printf("C");
    color.white();
    Sleep(300);
    printf(" ");
    color.green();
    Sleep(300);
    printf("3");
    color.lan();
    Sleep(300);
    printf(".");
    color.zz();
    Sleep(300);
    printf("0");

    color.qianlv();
    Sleep(300);
    printf("p");
    color.hong();
    Sleep(300);
    printf("r");
    color.zi();
    Sleep(300);
    printf("o");
    color.white();

    Sleep(300);
    printf("\n");
    Sleep(300);
    printf(" ");
    system("pause");
    printf("\n");
    for(int i=1;i<=10;i++)
    {
    for(int j=1;j<=10;j++)
    {
    l[i][j]='*';
    }
    }
    l[rand()%10+1][rand()%10+1]='#';
    l[rand()%10+1][rand()%10+1]='#';
    l[rand()%10+1][rand()%10+1]='#';
    int w=3,i=0;
    while(1)
    {
    i++;
    i%=2;
    int x,y;
    if(w2)
    {
    printf("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!你扫到了一个雷了!!!!!!!!你牛逼!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n");
    }
    else if(w
    1)
    {
    printf("!!!!!!!!!!!!!

    2025-10-28 来自 浙江

    0
  • 2025-10-13 来自 浙江

    0
  • 太厉害了张晨子

    2025-10-12 来自 浙江

    0

热门讨论