commit 09c7e4e41d9ac5db2624d59a9e3534fa03341945 Author: Malte Tammena Date: Fri Oct 13 10:46:02 2017 +0200 Added basics diff --git a/src/game/Game.java b/src/game/Game.java new file mode 100644 index 0000000..00020a6 --- /dev/null +++ b/src/game/Game.java @@ -0,0 +1,30 @@ +package game; + +import math.Random; + +import player.Player; +// import player.Player1; +// import player.Player2; + +public class Game { + + private final Player p1; + private final Player p2; + + public Game(Player p1, Player p2) { + this.p1 = p1; + this.p2 = p2; + } + + public void start() { + Random ran = new Random(); + + while(gameOn) { + + } + } + + private void log(String s) { + + } +} diff --git a/src/game/Main.java b/src/game/Main.java new file mode 100644 index 0000000..fdccdcb --- /dev/null +++ b/src/game/Main.java @@ -0,0 +1,8 @@ +package game; + +public class Main { + + public static void main(String[] args) { + + } +} diff --git a/src/player/Player.java b/src/player/Player.java new file mode 100644 index 0000000..4f6685a --- /dev/null +++ b/src/player/Player.java @@ -0,0 +1,9 @@ +package player; + +public interface Player { + + private String name; + + public int move(int[][] game); + public String getName(); +}