SnakeBot fertig

This commit is contained in:
leonmcfly 2024-02-06 20:49:31 +01:00
parent 4332f7d10a
commit af06d99bbe

View File

@ -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();
}
}