-
Notifications
You must be signed in to change notification settings - Fork 11.2k
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
[example/turnip-town] Move package and README #13535
Open
amnn
wants to merge
6
commits into
main
Choose a base branch
from
amnn/turniptown/move
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Commits on Sep 23, 2024
-
[example/turnip-town] Move package and README
...for turnip-town (the end-to-end simulation game example). Test Plan: New move unit tests: ``` turnip-town/move$ sui move test ```
Configuration menu - View commit details
-
Copy full SHA for 34c50ef - Browse repository at this point
Copy the full SHA 34c50efView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4600a46 - Browse repository at this point
Copy the full SHA 4600a46View commit details -
fixup: TransferPolicy for
Deed
+ Reference `Display` for `Deed` in README.
Configuration menu - View commit details
-
Copy full SHA for 5f77bbb - Browse repository at this point
Copy the full SHA 5f77bbbView commit details -
[Examples/Turnip Town] Rewrite to leverage Kiosk Apps
This is an almost complete rewrite of the demo. Now, instead of demonstrating shared/permissioned access to a game between the game admin/service and the player, we are demonstrating a game that allows multiple players to interact with each other's resources. Additionally, instead of a "weather" dynamic, crops are watered by individuals, fetching water from a well that outputs a fixed quantity of water every epoch (it does not accumulate). The parameters of the game are now as follows: - Turnips need as much water as their size to stay fresh every day. - They can grow an additional 20 size units a day if given enough water (1 unit of water = 1 unit of growth). - Each player gets access to 100 units of water per day, via their well. Water must be used in the transaction it was fetched from the well -- it cannot be stockpiled. - If there is more than 100 units of additional water left, it is stagnant and the turnip will also lose freshness (it will rot). - Turnips need to grow to at least 50 units before they can be harvested. - Each player owns a field and a well. Only they can plant turnips on their field, and take water from their well. - Any player can water crops in anybody else's field, and any player can harvest crops as well, but harvested crops go to the field owner's Kiosk. New tests have been added for all these features -- test coverage for this package is 99.14%.
Configuration menu - View commit details
-
Copy full SHA for 5284167 - Browse repository at this point
Copy the full SHA 5284167View commit details -
Configuration menu - View commit details
-
Copy full SHA for 64ee7ec - Browse repository at this point
Copy the full SHA 64ee7ecView commit details -
[examples] Turnip Town V2 (#19499)
## Description New and shiny Turnip Town. ## Test plan How did you test the new or updated feature? --- ## Release notes Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required. For each box you select, include information after the relevant heading that describes the impact of your changes that a user might notice and any actions they must take to implement updates. - [ ] Protocol: - [ ] Nodes (Validators and Full nodes): - [ ] Indexer: - [ ] JSON-RPC: - [ ] GraphQL: - [ ] CLI: - [ ] Rust SDK: - [ ] REST API:
Configuration menu - View commit details
-
Copy full SHA for f7cfae6 - Browse repository at this point
Copy the full SHA f7cfae6View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.