Added basics

This commit is contained in:
Malte Tammena 2017-10-13 10:46:02 +02:00
commit 09c7e4e41d
3 changed files with 47 additions and 0 deletions

30
src/game/Game.java Normal file
View file

@ -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) {
}
}

8
src/game/Main.java Normal file
View file

@ -0,0 +1,8 @@
package game;
public class Main {
public static void main(String[] args) {
}
}

9
src/player/Player.java Normal file
View file

@ -0,0 +1,9 @@
package player;
public interface Player {
private String name;
public int move(int[][] game);
public String getName();
}