当前位置: 技术问答>java相关
节假日还要麻烦各位,不过作业还是出错,就要交了,急死了啊!!!
来源: 互联网 发布时间:2015-09-20
本文导语: import javax.swing.JOptionPane; public class Tictacto { static String array[][]; static int size;// the size of the game static int counter; static int pos; static boolean win = false; public static void main(String args[]) { s...
import javax.swing.JOptionPane;
public class Tictacto
{
static String array[][];
static int size;// the size of the game
static int counter;
static int pos;
static boolean win = false;
public static void main(String args[])
{
size = Integer.parseInt(JOptionPane.showInputDialog(
"Enter the size fo the :(3-10)"));
String array[][] = new String[size][size];
for(int i = 0; i
public class Tictacto
{
static String array[][];
static int size;// the size of the game
static int counter;
static int pos;
static boolean win = false;
public static void main(String args[])
{
size = Integer.parseInt(JOptionPane.showInputDialog(
"Enter the size fo the :(3-10)"));
String array[][] = new String[size][size];
for(int i = 0; i