c语言小游戏源代码打砖块.docxVIP

  • 31
  • 0
  • 约5.71千字
  • 约 7页
  • 2021-07-26 发布于湖南
  • 举报
TTA standardization office【TTA 5AB- TTAK 08- TTA 2C】 TTA standardization office【TTA 5AB- TTAK 08- TTA 2C】 C语言小游戏源代码打砖块 #include graphics.h #include stdio.h #include conio.h /*所需的头文件*/ int on; /*声明具有开关作用的全局变量*/ static int score; /*声明静态的记分器变量*/ /* 定义开始界面函数*/ int open() { setviewport(100,100,500,380,1); /*设置图形窗口区域*/ setcolor(4); /*设置作图色*/ rectangle(0,0,399,279); /*以矩形填充所设的图形窗口区域*/ setfillstyle(SOLID_FILL,7); /*设置填充方式*/ floodfill(5

文档评论(0)

1亿VIP精品文档

相关文档