mirror of
https://gitlab.com/arnekeller/kit-programmieren-ws1920-final1.git
synced 2024-11-24 01:15:05 +00:00
55 lines
1.3 KiB
Plaintext
55 lines
1.3 KiB
Plaintext
create engine steam inconsistent max 1 true true
|
|
add train 1 inconsistent-max
|
|
add switch (0,0) -> (-5,0),(0,5)
|
|
set switch 1 position (0,5)
|
|
put train 1 at (0,0) in direction 0,1
|
|
put train 1 at (0,0) in direction 1,0
|
|
put train 1 at (0,0) in direction 0,-1
|
|
step 1
|
|
put train 1 at (0,0) in direction -1,0
|
|
step 1
|
|
add track (0,0) -> (5,0)
|
|
put train 1 at (0,0) in direction 0,1
|
|
step 6
|
|
put train 1 at (0,0) in direction 0,-1
|
|
step 6
|
|
put train 1 at (0,0) in direction 1,0
|
|
step 6
|
|
put train 1 at (0,0) in direction -1,0
|
|
step 6
|
|
delete track 2
|
|
add track (0,0) -> (0,-5)
|
|
put train 1 at (0,0) in direction 1,0
|
|
put train 1 at (0,0) in direction 0,1
|
|
step 6
|
|
put train 1 at (0,0) in direction 0,-1
|
|
step 6
|
|
delete track 2
|
|
add switch (0,0) -> (5,0),(0,-5)
|
|
set switch 2 position (5,0)
|
|
put train 1 at (0,0) in direction 0,1
|
|
step 6
|
|
put train 1 at (0,0) in direction 0,-1
|
|
step 6
|
|
put train 1 at (0,0) in direction 1,0
|
|
step 6
|
|
put train 1 at (0,0) in direction -1,0
|
|
step 6
|
|
set switch 2 position (0,-5)
|
|
put train 1 at (0,0) in direction 0,1
|
|
step 6
|
|
put train 1 at (0,0) in direction 0,-1
|
|
step 6
|
|
delete track 1
|
|
delete track 2
|
|
add switch (5,0) -> (0,0),(5,5)
|
|
set switch 1 position (5,5)
|
|
add track (0,0) -> (0,-5)
|
|
put train 1 at (0,0) in direction 0,-1
|
|
put train 1 at (0,0) in direction -1,0
|
|
put train 1 at (0,0) in direction 0,1
|
|
step 1
|
|
put train 1 at (0,0) in direction 1,0
|
|
step 1
|
|
exit
|