26 lines
501 B
Java
26 lines
501 B
Java
package ch.zhaw.catan;
|
|
|
|
import org.beryx.textio.TextIO;
|
|
import org.beryx.textio.TextIoFactory;
|
|
import org.beryx.textio.TextTerminal;
|
|
|
|
public class Siedler {
|
|
|
|
public static void main(String[] args) {
|
|
|
|
//Spiel erstellen
|
|
SiedlerGame game = new SiedlerGame(3, 2);
|
|
|
|
//Spielfeld ausgeben
|
|
TextIO textIO = TextIoFactory.getTextIO();
|
|
TextTerminal<?> textTerminal = textIO.getTextTerminal();
|
|
textTerminal.println(game.getBoard().getTextView());
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
}
|