Now, you can download and play the popular card game, Blackjack, for less than a standard deck of braille playing cards. See if you can beat the dealer at a good game of Blackjack today.
Welcome to USA Blackjack. This is a simple text-based version of the popular card game, Blackjack, written in the Python programming language. The object of the game is to get as close to 21 points as possible without going over 21 points in your hand. You can play for $5,000 all the way up to the grand prise of $25,000. The game will continue until one of the players goes bust, and has no more money left to play for.
The object of this text-based game and its source is to demonstrate the basics of Python programming using the random generator to randomly select a card from a list of cards, generating lists of items, using while loops, as well as raw input and output using the print statement and raw_input() function. Feel free to experiment with the code and make improvements when and where necessary.
Last updated on June 13, 2012 at 2:08 PM.
© 2004-2012 USA Games Interactive. All rights reserved.