-
-
Notifications
You must be signed in to change notification settings - Fork 249
Open
@mdmcginn
Description
How might I begin with all cards "thrown out" (not in the deck), so they can be thrown in instead of thrown out? For example, the instructions might be "Throw all the red cards onto the stack".
I tried this:
[].forEach.call(document.querySelectorAll('.stack li'), function (targetElement) {
stack.createCard(targetElement);
targetElement.classList.remove('in-deck');
card.throwOut(Direction.LEFT, 400);
});
Metadata
Metadata
Assignees
Labels
No labels