A 8*8 matrix and there is a weird game to be created...
Here is a Good question that i need to get solved as soon as possible.
I have just started events and the first thing is under MOUSE events. So here is the question, I have to create a 8*8 matrix, then i have to click at a random position and generate a word say "Q".
Alright then wherever that Q is located i have to make the associated row,columns,diagonals filled with red color.
After that i have to insert 7 more such "Q" and if i am succesfull in inserting 8 such Q i have to print game completed, if not game failed. I am told that there are 8 special locations by which we can achieve all this .
Can someone help? A complete code would be appreciated, I had started like this..
class A extends Frame implements MouseListener
int a=new int;
public void paint (Graphics g)
public void mouseClicked(MouseEvent me)
Re: A 8*8 matrix and there is a weird game to be created...
Continue developing the code. When you get errors that you are having problems with, post the code and your questions.