简单的游戏
[mw_shl_code=c,true]#include<stdio.h>
#include<stdlib.h>
#include<time.h>
int main()
{
long int sum=10000;
srand(time(0));
printf("千变万化大王血量:10000\n按任意键攻击一次");
while(1)
{
if(sum>100000000000)
sum=265348;
system("pause>nul");
system("cls");
printf("目前血量:%d按任意键攻击一次",sum+=rand());//气死你
}
return 0;//反正永远到不了这
}
[/mw_shl_code] |