From 0b4d0cdee04bd808fce553bb8b1b12fcd368149d Mon Sep 17 00:00:00 2001 From: Jonas Wagner Date: Tue, 25 Jan 2022 08:42:43 +0100 Subject: [PATCH] Refactor startGame Method --- src/main/java/Game.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/Game.java b/src/main/java/Game.java index da68c76..0252238 100644 --- a/src/main/java/Game.java +++ b/src/main/java/Game.java @@ -8,10 +8,9 @@ public class Game { public static void main(String[] args) { Game g = new Game(); - g.startGame(); } - public void startGame() { + public Game() { this.gb = new Gameboard(); gb.initGameboard(); p1 = new Player("Rot");