INTRODUCTION
IntroductionGameplayGlossaryGUIDES
Build ShipMove ShipGather FuelMine AsteriaBackend APICHALLENGES
Preview ChallengeUpdates the pos_x
, pos_y
and fuel
datum fields of the ShipState
UTxO by adding the delta_x
and delta_y
values specified in the redeemer, and subtracting the fuel amount needed for the displacement.
You can use the following Lucid script to move your ship. The supporting files are available here.