mirror of
https://gitlab.com/arnekeller/kit-programmieren-ws1920-final1.git
synced 2024-11-08 18:00:38 +00:00
17 lines
363 B
Plaintext
17 lines
363 B
Plaintext
|
# create three rails
|
||
|
add track (0,2) -> (0,0)
|
||
|
add track (0,0) -> (0,-2)
|
||
|
add track (0,-2) -> (0,-4)
|
||
|
delete track 2
|
||
|
delete track 1
|
||
|
delete track 2
|
||
|
delete track 3
|
||
|
# try to delete track under train
|
||
|
add track (-5,0) -> (0,0)
|
||
|
add track (0,0) -> (5,0)
|
||
|
create engine diesel ABC DEF 1 true true
|
||
|
add train 1 ABC-DEF
|
||
|
put train 1 at (0,0) in direction 1,0
|
||
|
delete track 1
|
||
|
exit
|