Browse Source

SnakeBot fertig

master
leonmcfly 9 months ago
parent
commit
af06d99bbe
1 changed files with 30 additions and 0 deletions
  1. 30
    0
      src/Praktikum05/RumbleBot.java

+ 30
- 0
src/Praktikum05/RumbleBot.java 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();
}

}

Loading…
Cancel
Save