最新!在用vc2010开发一个开心消消乐,但写到关于光标移动后就不知道咋写了,(已有easyx)不知道用哪个函数,求源码?

//开心消消乐 环境vc2010,已有Easyx图形库

#include
#include
#include
#include
#include "time.h"
#include "dos.h"
int x,y,x1,y1;
int colorA[6]={RGB(180,220,220),RGB(220,0,220),RGB(0,220,200),
RGB(210,210,0),RGB(210,0,0),RGB(0,150,210),};//定义一个颜色数组
int main(void)
{

//界面绘制
srand((unsigned) time(NULL));
int gdriver = DETECT, gmode, errorcode;
initgraph(&gdriver, &gmode, "");
setlinecolor(RGB(200,50,50));
setlinestyle(PS_SOLID,10);
rectangle(14,14,606,405);
x1=30;
y1=30;
int c1;
//hui'zhi'xiao'qiu
while(x1<=600)
{

  for(x1=30;x1<=600;x1+=20)
 {

    for(y1=30;y1<=400;y1+=20)

    {



 fillcircle(x1,y1,5 );
 int c1=colorA[rand()%6];
     setcolor(c1);
    }

  }

  };
 setlinestyle(PS_SOLID,3);
 setcolor(WHITE);
rectangle(319,198,340,222);
/*光标移动***********************************************
***************************************************
*************************************************8
*****************************************************
*****************************
*********************
********************/ 
_getch(); 

closegraph();
}