That’s an interesting card

I was debugging a web game based on the standard 52-card deck, called Zapster Solitaire, which I’ll release later this year. The game is supposed to end when you’ve depleted the draw pile, but due to a bug I found the draw pile empty but the game still going. I tried drawing a card from the empty pile, and the program gave me the NaN of Hearts and declared me the winner. I found that hilarious.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s