First, into treasure-map
, run yarn
.
Then with you map file, run yarn start [map]
.
When done, a new file will be created with
exemple: map.txt
=
C-3-4
M-1-0
M-2-1
T-0-3-2
T-1-3-3
A-Lara-1-1-S-AADADAGGA
M(Mountain)-{horizontal}-{vertical}
T(Treasure)-{horizontal}-{vertical}-{number}
A(Adventurer)-{name}-{horizontal}-{vertical}-{orientation}-{mouvement sequence}