c语言可以编什么样的游戏

来源:百度知道 编辑:UC知道 时间:2024/05/14 08:55:09

只要你有能力,有想法,什么游戏都可以
连操作系统都可以
像大名顶顶的LINUX操作系统就是用C语言编的

给个c语言编的赛车游戏给你

#include "graphics.h"
#include "conio.h"
#include "stdio.h"
enum shu {daolu, kongdi, qiche, qita};
enum setvalue {veryeasy, easy, normal, hard, veryhard};
enum setvalue set_sudu=veryeasy,set_nandu=veryeasy;

main()
{int gdriver, gmode;
void hua_lu(); void hua_che(); void sheng_lu(); void chushi_lu();
void hua_biankuang(); int ceshi_key(); void chongxin_bisai();
void chuli_che(); int ceshi_chugui();
enum shu matrix[128][96];
int chezhong[2]={64,86};
char keyvalue='a';
int kyh,shenming=100;
long i=0;
/*提示信息*/
kkkk:
printf("\n\n\t\t\tNAME: MiniCar\n\t\t\tVERSION: 1.4\n\t\t\tCREATOR: kanker\n\n");
printf("NARRATE