#适用于vs2022,最新版EasyX图形库
#通过调用EasyX图形库制作,项目简单易上手
#include<stdio.h>
#include<easyx.h>
#include<stdlib.h>
#include<time.h>
#include <iostream>
#define INTERVAL 100
#define GRID_W 100
#define GRID_H 150
int flags[4] = {
2,1,0,3 };
int gCount = 0;
void init()
{
srand(time(NULL));
for (int i = 0; i < 4; i++)
{
flags[i] = rand() % 4;
}
}
void draw()
{
setlinestyle(PS_SOLID, 2);
setlinecolor(BLACK);
const