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!
Pygame.org account Comments
John L 2018-07-09 16:48:09.456510I can't get this to run. I get the following error: C:\Users\john\Desktop\blackjack\blackjack>python blackjack.py File "blackjack.py", line 42 except pygame.error, message: ^ SyntaxError: invalid syntax
John L 2018-07-09 16:58:06.902362If 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)