import javax.swing.*;
import java.awt.*;
class wq
{
static int left = 10;
static int top = 10;
static int width = 20;
static int num = 19;
static Draw d;
static int qp [][]=new int [19][19];
static int color=1;
public void showQp()
{
for(int i=0;i<num;i++)
for(int j=0;j<num;j++)
{
if(qp[i][j]==1)
d.drawCircle(left + i*width,top+j*width,8,Color.black);
if(qp[i][j]==2)
d.drawCircle(left + i*width,top+j*width,8,Color.white);
}
}
//d.drawLine(0 ,0 ,100 ,100);
public void showBoard()
{
for(int i=0; i<num; i++)
{
int w=1;
if(i==0||i==num-1)w=2;
d.drawLine(left,top+i*width,left+width*(num-1),top+i*width,1);
d.drawLine(left+i*width,top,left+i*width,top+width*(num-1),1);
}
for(int i=3;i<=15;i+=6)
for(int j=3;j<=15;j+=6)
d.drawCircle(left+3*width,top+3*width,4,Color.black);
}
public static void main(String args[])
{
Draw d=new Draw();
{
public void mouseDown(int dx,int dy);
{
showBoard();
}
};
}
}