You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
508 B
35 lines
508 B
#include <stdio.h>
|
|
#include <windows.h>
|
|
#include <time.h>
|
|
#include <conio.h>
|
|
#include "test1.c"
|
|
#include "test2.c"
|
|
|
|
#define FrameX 13
|
|
#define FrameY 3
|
|
#define Frame_height 20
|
|
#define Frame_width 18
|
|
int i,j,Temp,Temp1,Temp2;
|
|
int a[80][80]={0};
|
|
int b[4];
|
|
struct Tetris
|
|
{
|
|
int x;//横坐标
|
|
int y;//纵坐标
|
|
int flag;//方块类型
|
|
int next;//下一个方块
|
|
int speed;//下落速度
|
|
int number;//方块个数
|
|
int score;
|
|
int level;
|
|
};
|
|
HANDLE hOut;
|
|
int main()
|
|
{
|
|
title();
|
|
welcome();
|
|
}
|
|
|
|
|
|
|