2020-10-11 18:25:42 +02:00
|
|
|
enum Orientation {
|
2020-10-06 23:25:17 +02:00
|
|
|
N,
|
|
|
|
E,
|
|
|
|
S,
|
|
|
|
W,
|
2020-10-06 20:34:48 +02:00
|
|
|
}
|
2020-10-06 23:25:17 +02:00
|
|
|
|
2020-10-11 18:25:42 +02:00
|
|
|
enum Instruction {
|
2020-10-06 23:28:59 +02:00
|
|
|
L,
|
|
|
|
R,
|
|
|
|
F,
|
|
|
|
}
|
|
|
|
|
2020-10-11 15:14:20 +02:00
|
|
|
fn main() {
|
|
|
|
let file_data = include_str!("../two_robots.txt");
|
|
|
|
}
|