Wall-E/src/Praktikum05/RumbleBot.java

31 lines
581 B
Java
Raw Normal View History

2024-02-06 19:49:31 +00:00
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();
}
}