Browse Source

Refactor startGame Method

AIPlayer
Jonas Wagner 3 years ago
parent
commit
0b4d0cdee0
  1. 3
      src/main/java/Game.java

3
src/main/java/Game.java

@ -8,10 +8,9 @@ public class Game {
public static void main(String[] args) { public static void main(String[] args) {
Game g = new Game(); Game g = new Game();
g.startGame();
} }
public void startGame() {
public Game() {
this.gb = new Gameboard(); this.gb = new Gameboard();
gb.initGameboard(); gb.initGameboard();
p1 = new Player("Rot"); p1 = new Player("Rot");

Loading…
Cancel
Save