求大神帮忙做一个标准的C程序。如果你完成得分,中等难度游戏的名字是《朱姬妙suan》。别担心。先联系我。

骚年,呵呵,写完了还是贴框架吧。代码500行,我就不贴了!!!有兴趣看的朋友,留个邮件,我会发的~

# include & ltstdio.h & gt

# include & ltstdlib.h & gt

# include & lttime.h & gt

//l初始化一些数据;

//对于玩家

int whoGuess

int guess[6];

int scroe

//对于计算机

int c _ whoGuess

int c _ guess[6];

int c _ scroe

//右侧数字的数组

int num[6];

//其他信息

int限额;

int多少;

int guessTimes

int重复;

int错= 0;

int正确;

int错了_ place

char* str[]={ "数字可以重复","数字不能重复" };

//检查有没有相等的数字返回"-1 "不

int CheckTheSame(int* list,int len)

{

}

//此函数用于commonsetting

void CommonSetting()

{

}

//播放器设置

void PlayerSetting()

{

}

//玩家猜猜看

void PlayGuess()

{

}

//计算机设置

void计算机设置()

{

}

//电脑猜猜看

void ComputerGuess()

{

}

//检查猜测

void CheckGuess(int* pnum,int* pguess)

{

}

//函数Main

void main()

{

common setting();

if(1 = = who guess)//1 for computer。

{

int let _ com _ guess = 0;

player setting();//玩家设置问题

//开始猜

for(int I = 0;我& lt猜测时间;i++)

{

printf("请输入\"1\ ",则计算机会猜测%d次\n ",I+1);

scanf("%d ",& amplet _ com _ guess);

if(1 = = let _ com _ guess & amp;& amp猜测时间& gt0)

{

computer guess();

CheckGuess(num,c _ guess);

if(correct = = how number)//如果没问题,中断

{

printf("好吧!!!\ n ");

c _ scroe = guest imes-I;//计算机搜索

如果(0==i)

{

c _ scroe+= 1;

}

打破;

}

如果(正确!=0)

{

c _ scroe++;

printf("%d处正确,%d处错误。\n”,正确,错误_地点);

}

如果(正确==0)

{

printf("%d处正确,%d处错误。\n”,正确,错误_地点);

}

}

正确= 0;

wrong _ place = 0;

}

scroe = guest imes-c _ scroe;//玩家滚动

if(scroe & lt;0)

{

scroe = 0;

}

printf("玩家scroe是%d,电脑scroe是%d\n ",scroe,c _ scroe);

}

对于玩家if (2==whoGuess)//2。

{

computer setting();//电脑设置问题

printf("计算机已给出数字\ n ");

for(int I = 0;我& lt猜测时间;i++)

{

printf("请输入%d个数字开始猜测%d次\n ",多少,I+1);

play guess();

CheckGuess(num,guess);

if(correct = = how number)//如果没问题,中断

{

printf("好吧!!!\ n ");

scroe = guest imes-I;//计算机搜索

如果(0==i)

{

scroe+= 1;

}

打破;

}

如果(正确!=0)

{

scroe++;

printf("%d处正确,%d处错误。\n”,正确,错误_地点);

}

如果(正确==0)

{

printf("%d处正确,%d处错误。\n”,正确,错误_地点);

}

正确= 0;

wrong _ place = 0;

}

c _ scroe = guest imes-scroe;//玩家滚动

if(c _ scroe & lt;0)

{

c _ scroe = 0;

}

printf("玩家scroe是%d,电脑scroe是%d\n ",scroe,c _ scroe);

}

系统(“暂停”);

}