Learn Python - BlackJackIn this video: - Functions - Nested for loops - While loops - If statements - Comments - Welcome to Coding4Chicks -I am a prog. Repl.it is a simple yet powerful online IDE, Editor, Compiler, Interpreter, and REPL. Code, compile, run, and host in 50+ programming languages: Clojure, Haskell.
This is a GUI version of the game blackjack, written in Python and Pygame. It is easy to play, and can be very fast-paced.
A version of the game blackjack. Has all the basic blackjack functions except for split. The code is very well documented, and a design doc is included. This program won the High School programming competition at Dalhousie university!
Changes
Blackjack Python Game
Links
- Home Page
- http://sourceforge.net/projects/flumblackjack/
Releases
Pygame.org account Comments
Blackjack Secret Code
John L 2018-07-09 16:48:09.456510
I can't get this to run. I get the following error: C:UsersjohnDesktopblackjackblackjack>python blackjack.py File 'blackjack.py', line 42 except pygame.error, message: ^ SyntaxError: invalid syntaxJohn L 2018-07-09 16:58:06.902362
If anyone else sees this, this code is for Python 2. You need to change to except pygame.error as message: , update print statements to Python 3, and change system exit to raise SystemExit(message)