mirror of
https://gitlab.com/arnekeller/kit-programmieren-ws1920-final1.git
synced 2024-11-09 02:10:40 +00:00
22 lines
572 B
Plaintext
22 lines
572 B
Plaintext
add switch (0,0) -> (5,0),(0,5)
|
|
add track (-2,0) -> (0,0)
|
|
add track (7,0) -> (5,0)
|
|
add track (0,7) -> (0,5)
|
|
create train-set T1 Alpha 1 true true
|
|
create train-set T1 Beta 1 true true
|
|
create train-set T1 Delta 1 true true
|
|
create train-set T1 Gamma 1 true true
|
|
add train 1 T1-Alpha
|
|
add train 2 T1-Beta
|
|
add train 3 T1-Delta
|
|
add train 4 T1-Gamma
|
|
set switch 1 position (5,0)
|
|
put train 1 at (-1,0) in direction 1,0
|
|
put train 2 at (6,0) in direction -1,0
|
|
put train 3 at (0,6) in direction 0,-1
|
|
put train 4 at (2,0) in direction 1,0
|
|
step 1
|
|
set switch 1 position (5,0)
|
|
step 0
|
|
exit
|