#include<curses.h>
#include<stdlib.h>
#include<stdio.h>
void initNcurse()
{
initscr();
keypad(stdscr,1);
}
struct snake
{
int hang;
int lie;
struct snake *next;
};
struct snake node1={
2,2,NULL};
struct snake node2={
2,3,NULL};
struct snake node3
Linux环境下的贪吃蛇游戏
最新推荐文章于 2025-05-25 12:14:15 发布