diff --git a/src/main/java/de/tims/tictactoe/ShowGUI.java b/src/main/java/de/tims/tictactoe/ShowGUI.java new file mode 100644 index 0000000..47a7f2c --- /dev/null +++ b/src/main/java/de/tims/tictactoe/ShowGUI.java @@ -0,0 +1,22 @@ +package de.tims.tictactoe; + +import javax.swing.JFrame; + +public class ShowGUI { + + private JFrame frame; + + public ShowGUI() { + this.frame = new JFrame("TicTacToe"); + this.frame.setSize(600, 600); + + GameLogic game = new GameLogic(3); + this.frame.add(game.generateGUI()); + this.frame.setVisible(true); + } + + public static void main(String[] args) { + new ShowGUI(); + } + +}