Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: implement 1st pass of space-time contract #1

Merged
merged 2 commits into from
Mar 12, 2024

Conversation

scarmuega
Copy link
Member

No description provided.


let final_ship_id_must_match = out_data.ship_id == ship_id

must_hold_ship_asset && must_respect_max_speed && must_have_enough_fuel && final_pos_must_respect_movement && final_ship_id_must_match
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this may look nicer as

and {
  must_hold_ship_asset,
  must_respect_max_speed,
  must_have_enough_fuel,
  final_pos_must_respect_movement,
  final_ship_id_must_match,
}

There is also an or

@scarmuega scarmuega merged commit 6380174 into main Mar 12, 2024
1 check failed
@scarmuega scarmuega deleted the feat/onchain-draft branch March 12, 2024 16:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants