diff --git a/Makefile b/Makefile index dee4017..774101d 100644 --- a/Makefile +++ b/Makefile @@ -17,8 +17,8 @@ src/game/GameHistory.java \ src/game/GameEntry.java \ src/game/PlayerObject.java \ src/player/Player.java \ -src/player/Player1.java \ -src/player/Player2.java +src/player/MalteAI.java \ +src/player/MaurizioAI.java OBJECTS=$($(subst $(CLASSPATH),$(BUILDS),$(CLASSES)):.java=.class) diff --git a/src/game/Main.java b/src/game/Main.java index 4bea8c2..4e0a53b 100644 --- a/src/game/Main.java +++ b/src/game/Main.java @@ -1,14 +1,14 @@ package game; import player.Player; -import player.Player1; -import player.Player2; +import player.MaurizioAI; +import player.MalteAI; public class Main { public static void main(String[] args) { - Player p1 = new Player1("Malte"); - Player p2 = new Player2("Maurizio"); + Player p1 = new MalteAI("Malte"); + Player p2 = new MaurizioAI("Maurizio"); new Game(p1, p2).start(); } } diff --git a/src/player/MalteAI.java b/src/player/MalteAI.java index d7f1759..0b7b371 100644 --- a/src/player/MalteAI.java +++ b/src/player/MalteAI.java @@ -2,12 +2,12 @@ package player; import java.util.Random; -public class Player2 implements Player{ +public class MalteAI implements Player{ private String name; private Random ran; - public Player2(String name){ + public MalteAI(String name){ this.name = name; this.ran = new Random(); } diff --git a/src/player/MaurizioAI.java b/src/player/MaurizioAI.java index 2c5f9c0..2d782a2 100644 --- a/src/player/MaurizioAI.java +++ b/src/player/MaurizioAI.java @@ -2,12 +2,12 @@ package player; import java.util.Random; -public class Player1 implements Player { +public class MaurizioAI implements Player { private String name; private Random ran; - public Player1(String name){ + public MaurizioAI(String name){ this.name = name; this.ran = new Random(); }