mirror of
https://gitlab.com/arnekeller/kit-programmieren-ws1920-final1.git
synced 2024-11-24 01:15:05 +00:00
73 lines
2.1 KiB
Plaintext
73 lines
2.1 KiB
Plaintext
|
add switch (0,0) -> (5,0),(0,5)
|
||
|
add switch (10,0) -> (5,0),(10,5)
|
||
|
set switch 1 position (0,5)
|
||
|
set switch 2 position (10,5)
|
||
|
create train-set a 1 1 true true
|
||
|
add train 1 a-1
|
||
|
put train 1 at (5,0) in direction 0,1
|
||
|
put train 1 at (5,0) in direction 0,-1
|
||
|
put train 1 at (5,0) in direction 1,0
|
||
|
put train 1 at (5,0) in direction -1,0
|
||
|
create train-set a 3 3 true true
|
||
|
add train 2 a-3
|
||
|
put train 2 at (5,0) in direction 0,1
|
||
|
put train 2 at (5,0) in direction 0,-1
|
||
|
put train 2 at (5,0) in direction 1,0
|
||
|
put train 2 at (5,0) in direction -1,0
|
||
|
create train-set a 5 5 true true
|
||
|
add train 3 a-5
|
||
|
put train 3 at (5,0) in direction 0,1
|
||
|
put train 3 at (5,0) in direction 0,-1
|
||
|
put train 3 at (5,0) in direction 1,0
|
||
|
put train 3 at (5,0) in direction -1,0
|
||
|
create train-set a 8 8 true true
|
||
|
add train 4 a-8
|
||
|
put train 4 at (5,0) in direction 0,1
|
||
|
put train 4 at (5,0) in direction 0,-1
|
||
|
put train 4 at (5,0) in direction 1,0
|
||
|
put train 4 at (5,0) in direction -1,0
|
||
|
create train-set a 10 10 true true
|
||
|
add train 5 a-10
|
||
|
put train 5 at (5,0) in direction 0,1
|
||
|
put train 5 at (5,0) in direction 0,-1
|
||
|
put train 5 at (5,0) in direction 1,0
|
||
|
put train 5 at (5,0) in direction -1,0
|
||
|
create train-set a 12 12 true true
|
||
|
add train 6 a-12
|
||
|
put train 6 at (5,0) in direction 0,1
|
||
|
put train 6 at (5,0) in direction 0,-1
|
||
|
put train 6 at (5,0) in direction 1,0
|
||
|
put train 6 at (5,0) in direction -1,0
|
||
|
step 2000
|
||
|
add track (-5,0) -> (0,0)
|
||
|
put train 2 at (-5,0) in direction -1,0
|
||
|
step 420
|
||
|
put train 2 at (-5,0) in direction 0,1
|
||
|
step 420
|
||
|
put train 2 at (-5,0) in direction 0,-1
|
||
|
step 420
|
||
|
put train 2 at (-5,0) in direction 1,0
|
||
|
step 420
|
||
|
add switch (-10,0) -> (-5,0),(-10,5)
|
||
|
set switch 4 position (-10,5)
|
||
|
put train 2 at (-5,0) in direction -1,0
|
||
|
step 420
|
||
|
put train 2 at (-5,0) in direction 0,1
|
||
|
step 420
|
||
|
put train 2 at (-5,0) in direction 0,-1
|
||
|
step 420
|
||
|
put train 2 at (-5,0) in direction 1,0
|
||
|
step 420
|
||
|
delete track 4
|
||
|
add switch (-5,5) -> (-5,0),(-10,5)
|
||
|
set switch 4 position (-10,5)
|
||
|
put train 2 at (-5,0) in direction -1,0
|
||
|
step 420
|
||
|
put train 2 at (-5,0) in direction 0,1
|
||
|
step 420
|
||
|
put train 2 at (-5,0) in direction 0,-1
|
||
|
step 420
|
||
|
put train 2 at (-5,0) in direction 1,0
|
||
|
step 420
|
||
|
exit
|