Dion Aliu
3 years ago
4 changed files with 71 additions and 7 deletions
-
9src/main/java/Game/Game.java
-
6src/main/java/Game/TicTacToe/Board.java
-
50src/main/java/Game/Tictactoe.java
-
11src/main/java/Main.java
@ -1,6 +1,17 @@ |
|||||
|
import Game.Tictactoe; |
||||
|
|
||||
|
import java.util.Scanner; |
||||
|
|
||||
public class Main { |
public class Main { |
||||
|
|
||||
public static void main(String[] args){ |
public static void main(String[] args){ |
||||
System.out.println("Hello world!"); |
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(); |
||||
|
} |
||||
} |
} |
||||
} |
} |
Write
Preview
Loading…
Cancel
Save
Reference in new issue