diff --git a/src/Praktikum05/RumbleBot.java b/src/Praktikum05/RumbleBot.java new file mode 100644 index 0000000..6577c6b --- /dev/null +++ b/src/Praktikum05/RumbleBot.java @@ -0,0 +1,30 @@ +package Praktikum05; + +import java.util.Scanner; + +public class RumbleBot extends Bot{ + protected RumbleBot(String[] args) { + super(args); + } + + private Scanner input = new Scanner(System.in); + + @Override + protected char nextMove(View view) throws Exception { + char roverKennung = view.data.charAt(40); + boolean exit = false; + while (!exit) { + + input.close(); + } + throw new Exception("Beendet"); + } + + + + public static void main(String args[]){ + Bot bot = new RumbleBot(args); + bot.run(); + } + +}