c++贪吃蛇源码
时间:2025-07-09
时间:2025-07-09
简单的贪吃蛇代码
用c++实现的"贪吃蛇"游戏源码
2008-04-10 21:44
// greedsnake.cpp
#include <bios.h>
#include <conio.h>
#include <dos.h>
#include <graphics.h>
#include <stdlib.h>
#include <time.h>
#include "conf.h"
typedef struct node
{
int x,y;
struct node *next;
}Node;
typedef struct
{
Node *head,*tail;
int length;
}Snake;
上一篇:波斯语,中文,英语,日常用语