Blackjack console game

Posted on: Friday, Mar 7, 2014

blackjack cards

I’m attending the GoTealeaf Professional Grade Ruby on Rails Online Bootcamp. As an assignment you have to create a procedural Blackjack game that can be run in the console / terminal.

I’ve done this but I developed it a bit more then required: I created the Blackjack game with lots of ASCII art to make it fun.

To play the game you have to download the code and run it. You can download the code from the GitHub repository blackjack-console.

If you’re on a Mac, you can run the code directly from your terminal with the commandruby blackjack.rb

For everybody else, you can view a screen shot of the gameplay here:

blackjack output

 



1

[…] I’ve implemented the objects and spruced up the ASCII art even more then the previous version. […]