HUA system office room 【HUA16H-TTMS2A-HUAS8Q8-HUAH1688】
纯C语言写的一个小型游戏源代码
/* A simple game*/
/*CopyRight: Guanlin*/
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
期待幸福#include<time.h>
#include<conio.h>
#include<process.h>
爱乐之城豆瓣
struct武汉全员核酸检测 object_fix
{
char name[20];
char id[5];
char desc[500];
char action[30];
char im[5];
};
struct object_move
{
char name[20];
char id[5];
char desc[500];
int loc;
int会所经营 pwr;
int strg;
char im[5];
};
struct rover
吃年夜饭
{
char name[20];
char id[5];
忘记忧伤char desc[500];
int pwr;
int strg;
采石矶int location[2];
char im[5];
};
struct map /* this is the map structure*/
{
char data[20];
char add_data[20];
int amount;
十八字方针
int x; /* this were the successor keeps it's x & y values*/
int y;
};
struct location /*this structure is for the successor lister*/
{
float height;
char obj;
};
void stats_update(int lected, struct rover *p_rover)
{
switch (lected)
{
ca 1:
if(p_rover->pwr < 7)
printf("\n\nYou do not have enough power to perform this action!\n\n");