sillyboy
05-14-2002, 03:41 AM
I am learning java now at my lesiure time for fun. After I obtained some basic skills, I just want to write a little game.
As I love to play tic tac toe, so I try to write one. I examinated some programs that can find from internet, and try to understand the syntax.
Now I got a souce code that used button concept instead of painting for the square of tic tac toe. It is marvel, but the problem is, the program cannot allows user to play with computer. Besides, although the program capability to provide nxn, e.g. 3X3 or 10 X10, there has no menu list or button for user to choice nxn.
I would very appreciate if any java expert solve my problem.
P.S. Attach herewith the tic tac toe program.
As I love to play tic tac toe, so I try to write one. I examinated some programs that can find from internet, and try to understand the syntax.
Now I got a souce code that used button concept instead of painting for the square of tic tac toe. It is marvel, but the problem is, the program cannot allows user to play with computer. Besides, although the program capability to provide nxn, e.g. 3X3 or 10 X10, there has no menu list or button for user to choice nxn.
I would very appreciate if any java expert solve my problem.
P.S. Attach herewith the tic tac toe program.