created Class Siedler

This commit is contained in:
schrom01
2021-11-24 17:16:13 +01:00
parent ad1227ac98
commit 8b61927eae
3 changed files with 32 additions and 5 deletions
+20
View File
@@ -0,0 +1,20 @@
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(0, 0);
//Spielfeld ausgeben
TextIO textIO = TextIoFactory.getTextIO();
TextTerminal<?> textTerminal = textIO.getTextTerminal();
textTerminal.println(game.getBoard().getTextView());
}
}