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

Participants interact with items: 5pts #234

Open
12 tasks done
skleinfeldt opened this issue May 1, 2023 · 5 comments
Open
12 tasks done

Participants interact with items: 5pts #234

skleinfeldt opened this issue May 1, 2023 · 5 comments
Assignees

Comments

@skleinfeldt
Copy link

skleinfeldt commented May 1, 2023

User story:

As a participant, if I occupy the same square as any object, I can see information about the object, and (for now) the transitions which would occur when clicking the action button.

Task Breakdown

  • Player cannot occupy the same square as an Item where crossable is false
  • Player can occupy the same square as an Item where crossable is true
  • When sharing a square with a crossable Item, the ego player can see:
    • Properties of the Item
    • Available transitions on the Item

"APIs"

  • Get Item at position
  • Iterate over items
  • Remove item from collection
  • Is Item at position crossable?
  • Get public-facing properties of an Item
  • Get public-facing transitions for an Item
  • Display properties and transitions to ego player
@jessesnyder jessesnyder changed the title Participants interact with objects Participants interact with objects: 5pts May 3, 2023
@jessesnyder jessesnyder self-assigned this Jul 31, 2023
@jessesnyder jessesnyder changed the title Participants interact with objects: 5pts Participants interact with items: 5pts Jul 31, 2023
@alecpm
Copy link
Contributor

alecpm commented Aug 2, 2023

I have a question on PR #253 related to non-"crossable" items. Some of these non-crossable items have available transitions. In such cases, is the transition availabile when adjacent to the square with the item? If so, how do we disambiguate the target when there are multiple adjacent items? For now it might be best to avoid allowing transitions on impassable items, since if a transition requires being on the same square then it could never be executed, and if it doesn't, it could add significant complexity.

@nataliavelez
Copy link

@alecpm Good point - I agree, I think solely defining transitions on crossable items would be simpler

@alecpm
Copy link
Contributor

alecpm commented Aug 2, 2023

OK, so in the demo/default config we'll make the Gooseberry Bush crossable, and maybe keep the Empty Gooseberry Bush non-crossable for fun.

@nataliavelez
Copy link

@jessesnyder Here are the mock-ups that we discussed during the meeting! To recap: The first image shows how transitions might appear to participants when they are (a) visible (b) hidden or (c) visible if previously seen. In the second image, the object in the participant's hand is highlighted to indicate that it's edible.

transitions_1
transitions_2

@nataliavelez
Copy link

@alecpm Sounds good!

jessesnyder added a commit that referenced this issue Aug 4, 2023
jessesnyder added a commit that referenced this issue Aug 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants