kellyelton/OCTGN — Issue #108: Add an ask function which allows the player to select a card from a list provided
Author: db0
Created: 2012-02-09 06:28:19+00:00
State: open

[Repost from Skylabs Forum](https://www.skylabsonline.com/forum/discussion/114/add-an-ask-function-which-allows-the-player-to-select-a-card-from-a-list-provided)

Many times I'd like to have a way to somehow connect two cards, like when playing an enchantment or looking for a card in play to choose as the target.

To this end I think it would be useful if we had a global function like askCard() which instead of creating new cards on the table, it simply provides a list of cardss (with restrictions) from a specific group (table, hand etc) and then returns the card class chosen by the player.

This would allow various functions to be created, for example one that allows an enchantment to be played below and slightly upwards from the card chosen in the dialog, or perhaps a function that allows the player to look through a deck for a specific type of card, without having to look all the options that are not relevant.

Possible function name: ChooseCard()