-
Notifications
You must be signed in to change notification settings - Fork 35
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
Adventure Mode / Encounters #237
Comments
we also want an image that can be uploaded for the loading/start screen of the encounter |
we want 2 query routes, one that gives the result without the image and one that gives all the info |
Does that mean that in order to create an encounter the creator has to "spend" the needed cards for it? |
The idea as: So I think it should go the following way: cardID -> encounter |
ok, entiendo |
Dont we want to given the encounters titles or names also? |
yeah makes sense |
Ok, I'll implement that and then we should merge. |
For our planned new feature "Adventures", we want to first build the MVP "Encounters".
An encounter is a single fight that a player does against a pre-constructed deck with a deterministic draw list. This means the designer of an encounter takes cards and puts them into a draw list (instead of a deck list), the difference between draw list and deck list is that from a deck list random cards are drawn and the draw list defines an exact order.
Furthermore the draw list may consist of cards that have not passed the council and can be unfair. So draft cards are eligible in contrast to normal decks. But after the encounter is created the cards should no longer be changed. So we need a new card status "adventure card". After an encounter is created the cards in the draw list change their status to "adventure card" if they are draft cards. For cards that are already permanent everything stays as is. Adventure cards can no longer be changed via edit card. Once an encounter is created players can play it, for which different match system is used. The gameclient reports via tx if a player tries an encounter and reports a finished match also via tx, where a win changes the flag "proven" of an encounter to true.
Edit: Illustration added. This should just be like image upload for cards but instead applies as a loading screen for the encounter. It cannot be changed after the encounter is finalized.
encounter object:
{
id: integer
drawlist: array
proven: boolean
owner: sdk.Address
parameters: key-value (string: string) dictionary
illustration: image
}
user object:
card object:
create encounter tx:
arguments: drawlist, parameters, illustration-image
checks:
mutations:
do encounter tx:
arguments: encounter_id, user
checks:
mutations:
close encounter tx
arguments: encounter_id, user
checks:
mutations:
The text was updated successfully, but these errors were encountered: