You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
382 B
17 lines
382 B
import Game.Tictactoe;
|
|
|
|
import java.util.Scanner;
|
|
|
|
public class Main {
|
|
|
|
public static void main(String[] args){
|
|
System.out.println("Hello world!");
|
|
Tictactoe ttt = new Tictactoe();
|
|
Scanner scan = new Scanner(System.in);
|
|
ttt.print();
|
|
while (scan.hasNext()) {
|
|
ttt.update(scan.next());
|
|
ttt.print();
|
|
}
|
|
}
|
|
}
|