This tutorial is also extracted from an entire course on building a Blackjack game using a graphical user environment (GUI), which you can check out here if you're interested.īlackjack is a gambling game that requires only a deck of cards. While building the game, we'll explore a few handy Python concepts, such as object-oriented programming using classes and how to manage a game loop. In this tutorial, we'll cover how to build a command line game for playing Blackjack using Python! You'll get to build the game from start to finish, and when you're done, you'll have a fully functioning game to play from the command line.