91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 11KB
    文件類型: .cpp
    金幣: 1
    下載: 0 次
    發布日期: 2021-05-22
  • 語言: C/C++
  • 標簽: 吃豆人??

資源簡介

自己打的,希望喜歡, 有三只小怪物,運動方式不同, 不過大力丸是以自己控制的方式設置的, 按g開啟大力丸模式, 請多指教! 使用dev-c++ 5.5.3 編譯(一般vs等都能編譯)

資源截圖

代碼片段和文件信息

#include?
#include?
#include?
#include?
#include????????//停頓:Sleep();?
#include??????????//清屏:system(“cls“);
#include?
using?namespace?std;
const?int?n=809;
struct?Point?{int?xy;};
int?dali;
int?fx[4]={-1271-27};
int?fxfx[4][2]={{0-1}{10}{01}{-10}};
int?dis[1000][1000];?//0:墻?1:有分的路?2:沒分的路?3:怪物的家?
int?changdi[30][27]={
{00000000000000000000000000}
{011111111111101111111111110}
{010000100000101000001000010}
{010000100000101000001000010}
{010000100000101000001000010}
{011111111111111111111111110}
{010000100100000001001000010}
{011111100111101111001111110}
{000000100000202000001000000}
{000000100000202000001000000}
{000000100222222222001000000}
{000000100200030002001000000}
{000000100203333302001000000}
{222222122203333302221222222}
{000000100203333302001000000}
{000000100200000002001000000}
{000000100222222222001000000}
{000000100200000002001000000}
{000000100200000002001000000}
{011111111111101111111111110}
{010000100000101000001000010}
{010000100000101000001000010}
{011100111111111111111001110}
{000100100100000001001001000}
{000100100100000001001001000}
{011111100111101111001111110}
{010000000000101000000000010}
{010000000000101000000000010}
{011111111111111111111111110}
{000000000000000000000000000}
};
int?xx1x2x3x4yy1y2y3y4;
int?nownow1now2now3now4;
int?g1g2g3g4;
int?fangxnextfxlast1last2last3last4;
int?fenshuguoziguaitimer;
int?T1T2t1t2stopped;?//T:計時?t1:玩家速度?t2:怪物速度?
int?f=0;?//f:{0:繼續?1:被吃?2:贏了?3:輸了}
int?beichi;
void?color(int?a)//顏色函數
{
SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE)a);
}
void?gotoxy(int?xint?y)//位置函數(行為x?列為y)
{
COORD?pos;
pos.X=2*y;
pos.Y=x;
SetConsoleCursorPosition(GetStdHandle(STD_OUTPUT_HANDLE)pos);
}

void?begin(){
system(“cls“);
color(11);?printf(“???????★“);?color(10);?printf(“吃豆人“);?color(11);?printf(“★\n\n“);?color(7);
printf(“?????請將窗口開至“);?color(11);?printf(“全屏\n“);?color(7);
printf(“??正在初始化,請耐心等待“);?
gotoxy(100);?printf(“游戲中按g開啟無敵模式“);
for?(int?i=0;?i<=n;?i++)?for?(int?j=1;?j<=n;?j++)?dis[i][j]=900;


評論

共有 條評論