/********************************************************************/
// Name:俄-罗-斯-方-块 V1.0
// Author:Giant
// Time: 2015/5/17
/********************************************************************/
#include“graphics.h“
#include“time.h“
#include“math.h“
#include“dos.h“
#include“conio.h“
#define NULL 0
#define False 0
#define True 1
#define REVOLVE 5
#define DOWN 2
#define LEFT 3
#define RIGHT 4
#define TIMER 0x1c
#define ESC 27
#define DOWN_MAX 420
void interrupt (*oldtimer)(void);
static unsigned grade=0;
char msg[10]=“Grade : “;
char msg1[10]=“\0“;
typedef struct boxes
{
unsigned int box;
int color;
int next;
}DESIGN;
DESIGN a[19]={3500821 /* The 19 shapes of boxes includes sizecolor and the next number*/
371222
5024023
73620
评论
共有 条评论