diff --git a/src/game/Game.java b/src/game/Game.java index c171796..974eda6 100644 --- a/src/game/Game.java +++ b/src/game/Game.java @@ -3,7 +3,7 @@ package game; import java.util.Random; import player.Player; -import player.MaurizioAI; +import player.maurizio.MaurizioAI; /** * Represents a game of Connect Four. diff --git a/src/game/Main.java b/src/game/Main.java index 6074e41..bda92b4 100644 --- a/src/game/Main.java +++ b/src/game/Main.java @@ -1,8 +1,8 @@ package game; import player.Player; -import player.MaurizioAI; -import player.MalteAI; +import player.maurizio.MaurizioAI; +import player.malte.MalteAI; public class Main { diff --git a/src/player/malte/MalteAI.java b/src/player/malte/MalteAI.java index caa1cdd..1211ed8 100644 --- a/src/player/malte/MalteAI.java +++ b/src/player/malte/MalteAI.java @@ -5,6 +5,8 @@ import java.util.Set; import java.util.HashSet; import java.util.Arrays; +import player.Player; + public class MalteAI implements Player{ private String name; @@ -42,6 +44,7 @@ public class MalteAI implements Player{ new Item(-1, 0, id), new Item(-2, 0, id), new Item(-3, 0, id)); + return null; } private Set copySet(Set s) { diff --git a/src/player/maurizio/MaurizioAI.java b/src/player/maurizio/MaurizioAI.java index a517d10..6a9d904 100644 --- a/src/player/maurizio/MaurizioAI.java +++ b/src/player/maurizio/MaurizioAI.java @@ -1,7 +1,9 @@ -package player; +package player.maurizio; import java.util.Random; +import player.Player; + public class MaurizioAI implements Player { private String name;