Deck of Cards missing Jokers

Be sure to read and follow the guidelines for our forums.

Jul 16, 2015 7:06 pm
Went to Tools->Cards.
Created new deck with Jokers.
Drew cards to see how the interface worked.
Noticed that some cards were difficult to read because of the font, and was curious about how all of the cards were represented.
Drew all of the cards individually and did not notice any jokers.Created a new deck with Jokers.
Checked the number of cards remaining and saw 54 as expected.
Drew all 54 cards together to inspect the results.
Again, did not see any Jokers.
Verified that there were 54 cards displayed.
Concluded that either 1) The difference between the Joker and another card must be so subtle that I didn't see it before, or 2) cards were duplicated in the results.
Inspected the cards again.
Noticed 3 Aces of Hearts.
Created a new deck with Jokers.
Drew all 54 cards together.
Saw 3 Aces of Hearts again.
Opened the image of the card and saw how all of the cards are in one .png file.
Noticed the Jokers clearly on the card reference.
Inspected the code on the card display page.
Found the cards titled "Red Joker" and "Black Joker".
Img tags for both cards contain the "class" attribute, but no value for it.

Conclusion: There is a bug in the script that does not append the correct class to the img tag.

As a developer, I would like to say that the way the cards are handled with all sharing the same image, is kind of ingenious.
Jul 16, 2015 7:37 pm
Thanks for the bug report; I'll look into it immediately! Its weird that its adding the title but not the class, but I'm certain that'll be an easy fix. And I'm glad you like the way cards worked; I figured it would be a bit more of an initial load, but would end up making drawing multiple cards much faster.

You do not have permission to post in this thread.