Pick a card

Feb 11, 2022 3:24 pm
I keep wondering whether it's possible to use something similar to the stateful polls, and the npcs tag to get user-defined decks.

I'm not sure about the syntax, whether decks belong to a game or a thread, what edit does, etc. But I thought it was worth a chat to see if there's something simple we can do.

e.g. the GM adds a deck to a game(?) like this:

[deck="Major Arcana"]
https://upload.wikimedia.org/wikipedia/commons/thumb/9/90/RWS_Tarot_00_Fool.jpg/69px-RWS_Tarot_00_Fool.jpg
https://upload.wikimedia.org/wikipedia/commons/thumb/d/de/RWS_Tarot_01_Magician.jpg/68px-RWS_Tarot_01_Magician.jpg
https://upload.wikimedia.org/wikipedia/commons/thumb/8/88/RWS_Tarot_02_High_Priestess.jpg/69px-RWS_Tarot_02_High_Priestess.jpg
https://upload.wikimedia.org/wikipedia/commons/thumb/d/d2/RWS_Tarot_03_Empress.jpg/69px-RWS_Tarot_03_Empress.jpg
https://upload.wikimedia.org/wikipedia/commons/thumb/c/c3/RWS_Tarot_04_Emperor.jpg/70px-RWS_Tarot_04_Emperor.jpg
https://upload.wikimedia.org/wikipedia/commons/thumb/8/8d/RWS_Tarot_05_Hierophant.jpg/68px-RWS_Tarot_05_Hierophant.jpg
https://upload.wikimedia.org/wikipedia/commons/thumb/3/3a/TheLovers.jpg/69px-TheLovers.jpg
https://upload.wikimedia.org/wikipedia/commons/thumb/9/9b/RWS_Tarot_07_Chariot.jpg/68px-RWS_Tarot_07_Chariot.jpg
https://upload.wikimedia.org/wikipedia/commons/thumb/f/f5/RWS_Tarot_08_Strength.jpg/66px-RWS_Tarot_08_Strength.jpg
https://upload.wikimedia.org/wikipedia/commons/thumb/4/4d/RWS_Tarot_09_Hermit.jpg/69px-RWS_Tarot_09_Hermit.jpg
https://upload.wikimedia.org/wikipedia/commons/thumb/3/3c/RWS_Tarot_10_Wheel_of_Fortune.jpg/69px-RWS_Tarot_10_Wheel_of_Fortune.jpg
https://upload.wikimedia.org/wikipedia/commons/thumb/e/e0/RWS_Tarot_11_Justice.jpg/69px-RWS_Tarot_11_Justice.jpg
https://upload.wikimedia.org/wikipedia/commons/thumb/2/2b/RWS_Tarot_12_Hanged_Man.jpg/68px-RWS_Tarot_12_Hanged_Man.jpg
https://upload.wikimedia.org/wikipedia/commons/thumb/d/d7/RWS_Tarot_13_Death.jpg/68px-RWS_Tarot_13_Death.jpg
https://upload.wikimedia.org/wikipedia/commons/thumb/f/f8/RWS_Tarot_14_Temperance.jpg/69px-RWS_Tarot_14_Temperance.jpg
https://upload.wikimedia.org/wikipedia/commons/thumb/5/55/RWS_Tarot_15_Devil.jpg/69px-RWS_Tarot_15_Devil.jpg
https://upload.wikimedia.org/wikipedia/commons/thumb/5/53/RWS_Tarot_16_Tower.jpg/70px-RWS_Tarot_16_Tower.jpg
https://upload.wikimedia.org/wikipedia/commons/thumb/d/db/RWS_Tarot_17_Star.jpg/69px-RWS_Tarot_17_Star.jpg
https://upload.wikimedia.org/wikipedia/commons/thumb/7/7f/RWS_Tarot_18_Moon.jpg/68px-RWS_Tarot_18_Moon.jpg
https://upload.wikimedia.org/wikipedia/commons/thumb/1/17/RWS_Tarot_19_Sun.jpg/69px-RWS_Tarot_19_Sun.jpg
https://upload.wikimedia.org/wikipedia/commons/thumb/d/dd/RWS_Tarot_20_Judgement.jpg/69px-RWS_Tarot_20_Judgement.jpg
https://upload.wikimedia.org/wikipedia/commons/thumb/f/ff/RWS_Tarot_21_World.jpg/68px-RWS_Tarot_21_World.jpg
[/deck]

People draw by adding something like this to their post:
[draw 3 Major Arcana]

To see (but bigger):

Draw 3 from Major Arcana

Quote
Feb 11, 2022 4:06 pm
Deck of many things are going to get even more fun :D
Quote
Feb 11, 2022 4:38 pm
Adam says:
I thought the point about cards is that they're removed.
Yep.

13th Age's Chaos Mage has a mechanic of a bag of 6 stones, of 3 different colors, that you drew from. I used to roll a d6 and just reroll if I git anumber I already rilled before. I wished there was a way to remove values already rolled. If user-defined drawing decks become a thing that'd be so awesome!
Quote
Feb 11, 2022 4:42 pm
Maybe if it's not an image URL, you could put words in there e.g.
[deck="action"]
"New weapon"
"Adopted"
[/deck]

Adopted

Quote
Apr 3, 2022 5:51 pm
Is it time to talk about this some more?
Quote
Apr 3, 2022 6:03 pm
I'm all for it! Adam's idea to use this for dominoes is a great idea, and lots of games have custom card decks. Likewise, I've heard tell that "hands" are not really supported yet. Is that doable, Adam?
Last edited April 3, 2022 6:03 pm
Quote
Apr 3, 2022 6:17 pm
I don't know about hands. My thought was that this would be BB code. Polls are an example of bb code that keep hold of state (they know how people have voted).

I guess
[deck="dominoes"]
0,0
0,1
...
6,6
[/deck]

[draw 3 dominoes private] or something, then only the GM and person posting would see their hand. We'd also need a discard mechanism.

Honestly, I have no idea what the commands should look like, and whether the state of the deck is cross thread or not.
Quote
Apr 3, 2022 6:53 pm
I'm in theory all for this. I'm sure it would be helpful for lots of things.

I just personally don't really play anything that needs cards so I don't really have suggestions for how exactly the details should work.
Quote
Apr 3, 2022 7:17 pm
I don't play a lot of game that use cards... because GP does not support many of the card mechanics.

We would need hands, and the ability to put cards into and take cards out of specific piles (like hands, but on the table), and to shuffle a particular pile or draw from the top, and so on.

Being able to add our own faces would be nice, but without mechanical support it will be a bit rudimentary and still underused.

There are times we would want to keep cards private from the GM as well, or to know if the GM has peeked at them.
Quote
Apr 7, 2022 9:06 pm
I tried making a Deck App using the custom sheets as a temporary fix until we have a proper custom deck feature. It's not super user-friendly, but I thought I'd share it in case it will help someone who really wants to use a custom deck asap. It might be better than trying to keep track of a deck off-site.

This deck is the set of dominos described by @SavageBob (HERE).
[ +- ] Domino App
How it works:

Make a copy by clicking "Create Character" using the template, and add it to your game. Then from a post, open the Domino App character sheet using the button under the post box. Follow the directions in the sheet.

A spoiler will be added to the post that includes the drawn domino plus some data for later to maintain the deck state.

If you want to draw another domino from the full set (i.e with the last drawn domino put back), then just repeat.

If you want to draw another domino without putting the previous one back (so there's one less domino to draw from), do the same thing but update the state of the deck by copying the deck state data from the previous result to the deck state in the character sheet.

You can reset the deck by copying the full set deck state (included in the instructions).

Unfortunately we can't share sheets, so everyone who wants to draw dominoes needs their own domino sheet instead of just sharing one, but as long as you update the Deck State before drawing a new domino, then everyone will be drawing from the same set. Or the GM can just draw for everyone.

I haven't tested it too much yet, so there might be bugs. Let me know.

If anyone thinks this would be useful, but needs a different set, let me know and I might be able to modify it for a different deck. My plan is to make a Tarot Deck or Deck of Many Things next. I might also try to make it so you can draw multiple cards at once, but that might be tricky. We'll see.
Quote
Apr 7, 2022 9:07 pm
Example
[ +- ] Draw a Domino

Rolls

Draw Domino - (1d49)

(36) = 36

Quote
Apr 7, 2022 9:08 pm
Example of a draw without replacement
[ +- ] Draw a Domino

Rolls

Draw Domino - (1d48)

(19) = 19

Quote
Apr 12, 2022 7:33 pm
@Chalrytharendir - Somehow I missed this until now. This is awesome! I need to digest what you did and how it works, but your demonstration looks very promising. Could a player draw a "hand" of 3 dominoes at once? And do they need to keep track of their own hand if they do?
Quote
Apr 12, 2022 7:49 pm
I've just looked at that character sheet.

That is genius.

It's also a little frightening to see how people are hacking these sheets. It was supposed to allow people to change their HP, not write state machines.
Quote
Apr 12, 2022 7:51 pm
SavageBob says:
@Chalrytharendir - Somehow I missed this until now. This is awesome! I need to digest what you did and how it works, but your demonstration looks very promising. Could a player draw a "hand" of 3 dominoes at once? And do they need to keep track of their own hand if they do?
That "deck state" is what's tracking what has been drawn. It's really binary indicating if an item is still in the deck. It's kinda beautiful.
Quote
Apr 13, 2022 7:45 pm
SavageBob says:
@Chalrytharendir - Somehow I missed this until now. This is awesome! I need to digest what you did and how it works, but your demonstration looks very promising. Could a player draw a "hand" of 3 dominoes at once? And do they need to keep track of their own hand if they do?
I'm glad you like the look of it, let me know if you have any questions when you try it out. At the moment you need to draw 1 domino at a time, but I'll see if I can modify it so you can draw a hand of three. Players would need to keep track of their hand themselves, probably in a note on their character sheet or something.

If the hands need to be hidden, then you might need to do hidden rolls and wrap the spoiler in a note, or have the GM do the all the drawing.

Chalrytharendir sent a note to SavageBob
Although you would need to share the new deck state with the next player: 562944584703999

Rolls

Draw Domino - (1d47)

Quote
Apr 13, 2022 7:50 pm
Adam says:
I've just looked at that character sheet.

That is genius.

It's also a little frightening to see how people are hacking these sheets. It was supposed to allow people to change their HP, not write state machines.
Cheers!

It's pretty amazing what we can make with these new char sheet codes and functions. I'm really enjoying thinking about and playing around with possibilities!
Quote
Apr 14, 2022 11:53 am
Chalrytharendir says:
It's pretty amazing what we can make with these new char sheet codes and functions. I'm really enjoying thinking about and playing around with possibilities!
I have not even scratched the surface, but I agree. This is a pretty amazing feature.

You do not have permission to post in this thread.