一场超长辩论赛,pycharm编程序好,还是VSCode编程序好?

@言过 哇,我跟你一样我是多重人格呦,ԾㅂԾ,

啊?(小脑已萎缩)

我有六个人格,最抽象的你都没见过

那我有一(亿)个人格

@言过 呵呵,我同学说过我有 114514 个人格。主要是我在学校里在不同时间会干出不同年龄、智商……的东西

。。

@言过 @冯俊骁 我们来聊抽象吧!(我在做题

??????

这信友队论坛有一点不咋地就是贴子里没法置顶

我投Viscode吧,感觉这个更好用

vscode yyds :partying_face:

那我觉得还是IDLE好用(

1 个赞

我突然也觉得

Pycharm氪

能投 VS 吗

哎呀能用就好了,争论这个干什么?

#include <iostream>
#include <windows.h>
#include <conio.h>
#include <cstdlib>
#include <ctime>
const int _wheuy87873h = 60;
const int hsbv_3784jsjvf = 20;
const int sahwef_7u = 5;
const int shaq1_sad = 100;
const int wqfy_83 = 5;
const int fjaf348 = 10;
int jar0224_bak = rand() % 15 + 1;
int basjwfr_12345 = 3;
int pjar0224_bak = rand() % 15 + 1;

enum hash_cod78 {
	ALRMNO,
	PALLED,
	POPDS,
	PVC
};

struct Pusadj38 {
	hash_cod78 piaoafwef;
	int pipaqq342;
	int jar0224_bak = rand() % 15 + 1;
};

struct Iop123_eswrf {
	int rtgrpghash;
};

void huhadf3we4_0198() {
	system("cls");
}

void jiandingQWDREKIIO_23(int humptydumpty, int openckwr_234) {
	if (openckwr_234)pjar0224_bak = rand() % 15 + 1;
	COORD none_pro = {static_cast<SHORT>(humptydumpty), hsbv_3784jsjvf};
	SetConsoleCursorPosition(GetStdHandle(STD_OUTPUT_HANDLE), none_pro);
	SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), pjar0224_bak);
	std::cout << "=====";
	SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 15);
}

void _xkaswdAD(int kkjjh897_p, int po, int local) {

	HANDLE _kkjjh897_piwakkk99 = GetStdHandle(STD_OUTPUT_HANDLE);
	CONSOLE_CURSOR_INFO cursorInfo;
	cursorInfo.dwSize = 100;
	cursorInfo.bVisible = FALSE;
	SetConsoleCursorInfo(_kkjjh897_piwakkk99, &cursorInfo);

	if (local)
		jar0224_bak = rand() % 15 + 1;
	SetConsoleTextAttribute(_kkjjh897_piwakkk99, jar0224_bak);
	COORD coord = {static_cast<SHORT>(kkjjh897_p), static_cast<SHORT>(po)};
	SetConsoleCursorPosition(GetStdHandle(STD_OUTPUT_HANDLE), coord);
	std::cout << "o";
	SetConsoleTextAttribute(_kkjjh897_piwakkk99, 15);
	HWND console = GetConsoleWindow();
	RECT r;
	GetWindowRect(console, &r);
	MoveWindow(console, r.left, r.top, 770, 600, FALSE);
}

void klop_90156popl(Pusadj38 Pusadj38s[wqfy_83][fjaf348]) {
	for (int i = 0; i < wqfy_83; ++i) {
		for (int j = 0; j < fjaf348; ++j) {
			COORD kll_8 = {static_cast<SHORT>(2 + j * 5), static_cast<SHORT>(2 + i * 2)};
			SetConsoleCursorPosition(GetStdHandle(STD_OUTPUT_HANDLE), kll_8);
			SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), Pusadj38s[i][j].jar0224_bak);
			if (Pusadj38s[i][j].piaoafwef == ALRMNO) {
				std::cout << "====";
			} else if (Pusadj38s[i][j].piaoafwef == PALLED) {
				std::cout << "####";
			} else if (Pusadj38s[i][j].piaoafwef == POPDS) {
				std::cout << "****";
			} else if (Pusadj38s[i][j].piaoafwef == PVC) {
				std::cout << "    ";
			}
			SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 15);
		}
	}
}

int wsauf_0909plplg() {
	return rand() % 3 - 1; // ???????-1??0??1
}

void feswg_48poaeqgrt(Pusadj38 &Pusadj38, Iop123_eswrf &Iop123_eswrf) {
	Pusadj38.jar0224_bak = rand() % 15 + 1;
	Pusadj38.pipaqq342 = 1;
	if (Pusadj38.piaoafwef == POPDS) {
		Pusadj38.piaoafwef = PVC;
		Iop123_eswrf.rtgrpghash += 10;
	} else if (Pusadj38.piaoafwef == PALLED) {
		Pusadj38.piaoafwef = ALRMNO;
		Iop123_eswrf.rtgrpghash += 30;
	} else if (Pusadj38.piaoafwef == ALRMNO) {
		Pusadj38.piaoafwef = PVC;
		Iop123_eswrf.rtgrpghash += 20;
	}
}
void _ejgui843(Pusadj38 &Pusadj38k, Pusadj38 Pusadj38s[wqfy_83][fjaf348], int as_kewajktgfi, int asrfdgtuy_398294, Iop123_eswrf &Iop123_eswrf) {
    if (Pusadj38k.piaoafwef == ALRMNO) {
        Pusadj38k.pipaqq342--;
        if (Pusadj38k.pipaqq342 == 0) {
            Pusadj38s[as_kewajktgfi][asrfdgtuy_398294].piaoafwef = POPDS;
            Pusadj38s[as_kewajktgfi][asrfdgtuy_398294].pipaqq342 = 1;
            Pusadj38s[as_kewajktgfi][asrfdgtuy_398294].jar0224_bak = rand() % 15 + 1;
            Iop123_eswrf.rtgrpghash += 20;
        }
    } else if (Pusadj38k.piaoafwef == PALLED) {
        Pusadj38k.pipaqq342--;
        if (Pusadj38k.pipaqq342 == 0) {
            Pusadj38s[as_kewajktgfi][asrfdgtuy_398294].piaoafwef = ALRMNO;
            Pusadj38s[as_kewajktgfi][asrfdgtuy_398294].pipaqq342 = 1;
            Pusadj38s[as_kewajktgfi][asrfdgtuy_398294].jar0224_bak = rand() % 15 + 1;
            Iop123_eswrf.rtgrpghash += 30;
        }
    } else if (Pusadj38k.piaoafwef == POPDS) {
        for (int i = as_kewajktgfi - 1; i <= as_kewajktgfi + 1; ++i) {
            for (int j = asrfdgtuy_398294 - 1; j <= asrfdgtuy_398294 + 1; ++j) {
                if (i >= 0 && i < wqfy_83 && j >= 0 && j < fjaf348 && Pusadj38s[i][j].piaoafwef != PVC) {
                    feswg_48poaeqgrt(Pusadj38s[i][j], Iop123_eswrf);
                    Iop123_eswrf.rtgrpghash += 10;
                }
            }
        }
    }
}

bool aqafdtgy_23u54988(int qw, int owe, int ty, int tk, int uweifr, int ht) {
	return qw < ty + uweifr && qw + 1 > ty && owe < tk + ht && owe + 1 > tk;
}

int main() {
	srand(static_cast<unsigned int>(time(0)));
	int lowwe = _wheuy87873h / 2 - sahwef_7u / 2;
	int PoaaW_9283 = lowwe + sahwef_7u / 2;
	int UR_NEXT = hsbv_3784jsjvf - 2;
	int SDFER_994F = wsauf_0909plplg();
	int PSdewq3r_3924 = -1;
	int _x345sdf = 0;
	int dghrt25ba = 0;
	Pusadj38 Pusadj38s[wqfy_83][fjaf348];
	Iop123_eswrf Iop123_eswrf = {0};

	for (int i = 0; i < wqfy_83; ++i) {
		for (int j = 0; j < fjaf348; ++j) {
			Pusadj38 Pusadj38;
			Pusadj38.piaoafwef = static_cast<hash_cod78>(rand() % 3);
			Pusadj38.pipaqq342 = 1;
			Pusadj38s[i][j] = Pusadj38;
		}
	}
	int sedji4r_39i = 0;
	while (basjwfr_12345 > 0 && _x345sdf < wqfy_83 * fjaf348) {
		_x345sdf = 0;
		huhadf3we4_0198();
		SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), pjar0224_bak);
		std::cout << "lives: " << basjwfr_12345 << "   Score: " << Iop123_eswrf.rtgrpghash << std::endl;
		for (int i = 0; i < _wheuy87873h; i += 1) {
			std::cout << "-";
		}
		std::cout << std::endl;
		SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 15);
		jiandingQWDREKIIO_23(lowwe, dghrt25ba);
		_xkaswdAD(PoaaW_9283, UR_NEXT, sedji4r_39i);
		klop_90156popl(Pusadj38s);
		sedji4r_39i = 0;
		dghrt25ba = 0;
		if (aqafdtgy_23u54988(PoaaW_9283, UR_NEXT, lowwe - 1, hsbv_3784jsjvf - 1, sahwef_7u, 1)) {
			PSdewq3r_3924 = -PSdewq3r_3924;
			if (PoaaW_9283 < lowwe + sahwef_7u / 2) {
				SDFER_994F = -1;
			} else {
				SDFER_994F = 1;
			}
			Beep(2000, 100);
			sedji4r_39i = 1;
			dghrt25ba = 1;
		}
		for (int i = 0; i < wqfy_83; ++i) {
			for (int j = 0; j < fjaf348; ++j) {
				if (Pusadj38s[i][j].piaoafwef == PVC) {
					_x345sdf += 1;
				}
			}
		}
		for (int i = 0; i < wqfy_83; ++i) {
			for (int j = 0; j < fjaf348; ++j) {
				if (Pusadj38s[i][j].pipaqq342 > 0 &&
				        aqafdtgy_23u54988(PoaaW_9283, UR_NEXT, 2 + j * 5, 2 + i * 2, 4, 1) && Pusadj38s[i][j].piaoafwef != PVC) {
					_ejgui843(Pusadj38s[i][j], Pusadj38s, i, j, Iop123_eswrf);
					PSdewq3r_3924 = -PSdewq3r_3924;
					Beep(2000, 100);
					sedji4r_39i = 1;
				}
			}
		}
		if (PoaaW_9283 <= 0 || PoaaW_9283 >= _wheuy87873h - 1) {
			SDFER_994F = -SDFER_994F;
			Beep(2000, 100);
			sedji4r_39i = 1;
		}
		if (UR_NEXT <= 3) {
			PSdewq3r_3924 = -PSdewq3r_3924;
			Beep(2000, 100);
			sedji4r_39i = 1;
		}
		if (UR_NEXT >= hsbv_3784jsjvf + 1) {
			Beep(1000, 100);
			basjwfr_12345--;
			if (basjwfr_12345 > 0) {
				PoaaW_9283 = lowwe + sahwef_7u / 2;
				UR_NEXT = hsbv_3784jsjvf - 2;
				SDFER_994F = wsauf_0909plplg();
				PSdewq3r_3924 = -1;
			}
		}
		PoaaW_9283 += SDFER_994F;
		UR_NEXT += PSdewq3r_3924;
		if (_kbhit()) {
			char tauwqae_3 = _getch();
			tauwqae_3 = _getch();
			if (tauwqae_3 == 75 && lowwe > 1) {
				lowwe -= 3;
			} else if (tauwqae_3 == 77 && lowwe < _wheuy87873h - sahwef_7u) {
				lowwe += 3;
			}
		}
		Sleep(30);
	}
	huhadf3we4_0198();
	std::cout << "Game Over! Your Score: " << Iop123_eswrf.rtgrpghash << std::endl;
	Sleep(1000);
}

看不懂吧有一部分雀食布什我写的

Because it was OBFUSCATED

哎,又哪复制来的游戏代码

有一部分雀食事我写的