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

2 years ago
2 years ago
  1. import Game.Tictactoe;
  2. import java.util.Scanner;
  3. public class Main {
  4. public static void main(String[] args){
  5. System.out.println("Hello world!");
  6. Tictactoe ttt = new Tictactoe();
  7. Scanner scan = new Scanner(System.in);
  8. ttt.print();
  9. while (scan.hasNext()) {
  10. ttt.update(scan.next());
  11. ttt.print();
  12. }
  13. }
  14. }