Creating a Deck of Playing Cards in Ruby

To view this screencast, add it to your cart and checkout. You can buy this screencast for any price, including FREE!

Awhile back, I got bored and started coding a game of Solitaire that could be played in a Ruby IRB shell.

IRB Solitaire

I wanted to finish the game but never got around to it. So I thought of an idea!

What if I screencast test-driving the creation of a card game? That would be an incentive for me to finish the game and people could watch me test-drive a Ruby library and, eventually, a multiplayer web-based card game.

So here is Part 1 of my new screencast series on creating card games in Ruby!

Part 2: Go Fish in Ruby

In this screencast, we:

We leave off with good Card and Deck classes that can be used in our next screencast, when we’ll make our first game!

Note: For the first part of the screencast, I use suite instead of suit … my bad!

You can view the code created during this screencast at: http://github.com/remi/remicasts/tree/playing-cards-1