SnakeBot fertig
This commit is contained in:
parent
4332f7d10a
commit
af06d99bbe
30
src/Praktikum05/RumbleBot.java
Normal file
30
src/Praktikum05/RumbleBot.java
Normal 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();
|
||||
}
|
||||
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user