17 lines
356 B
Java
17 lines
356 B
Java
|
public class Main {
|
||
|
public static void main(String[] args) {
|
||
|
Robot test = new Robot();
|
||
|
|
||
|
test.turnRight();
|
||
|
test.move();
|
||
|
test.move();
|
||
|
test.move();
|
||
|
test.move();
|
||
|
test.turnRight();
|
||
|
test.move();
|
||
|
test.move();
|
||
|
test.move();
|
||
|
|
||
|
System.out.println(test.getDirection());
|
||
|
}
|
||
|
}
|