飞机代码--游戏代码.docxVIP

  • 64
  • 0
  • 约6.84千字
  • 约 17页
  • 2021-11-22 发布于浙江
  • 举报
飞机代码: #includestdio.h #includeconio.h #includestdlib.h #includetime.h #define N 35 #define up 72 #define left 75 #define right 77 void run(); void yn(); void print(int [][N]); void movebul(int [][N]); void movepla(int [][N]); void setting(void); void menu(void); int scr[22][N]={0},pl=9,width=24,speed=3,density=30,score=0,death=0; void main() { menu(); run(); } void print(int a[][N]) { system(cls); int i,j; for(i=0;i22;i++) { a[i][width-1]=4; for(j=0;jwidth;j++) { if(a[i][j]==0)printf(); if(a[i][j]==1)printf(\5); if(a[i][j]==2)printf(^); if(a[i][j]==3)printf(\3); if(

文档评论(0)

1亿VIP精品文档

相关文档