Console Color Functions GetStdHandle(STD_OUTPUT_HANDLE) — get the console output handle SetConsoleTextAttribute() — change text/background color in console ...
int direction;//移动方向 上1 左2 下3 右4 ...