<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: MFielder16</title>
    <description>The latest articles on DEV Community by MFielder16 (@mfielder16).</description>
    <link>https://dev.to/mfielder16</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3890876%2Fc10fde3d-dbfc-4bdc-886c-1f42a75f3ba9.png</url>
      <title>DEV Community: MFielder16</title>
      <link>https://dev.to/mfielder16</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/mfielder16"/>
    <language>en</language>
    <item>
      <title>From Python Basics to a Playable Blackjack Game in the Terminal</title>
      <dc:creator>MFielder16</dc:creator>
      <pubDate>Tue, 21 Apr 2026 14:19:10 +0000</pubDate>
      <link>https://dev.to/mfielder16/from-python-basics-to-a-playable-blackjack-game-in-the-terminal-kdo</link>
      <guid>https://dev.to/mfielder16/from-python-basics-to-a-playable-blackjack-game-in-the-terminal-kdo</guid>
      <description>&lt;p&gt;As a college student learning software development, I wanted to build a project that would help me move beyond basic exercises and start thinking more like a real developer. I did not want to just practice syntax. I wanted to create something interactive that used logic, structure, and problem-solving in a way that felt closer to an actual software project. That is why I built a terminal-based Blackjack game in Python.&lt;/p&gt;

&lt;p&gt;I chose Blackjack because it combines several important programming concepts in one project. It requires user input, decision-making, game rules, repeated rounds, and organized code. It also gave me a chance to practice writing a program that is not just functional, but also structured in a clean way. My goal with this project was to strengthen my Python fundamentals while also learning how to break a larger idea into smaller parts that work together. In the end, I created a game where the player can place bets, play against a dealer, and continue playing until they decide to quit or run out of chips.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F08088dwzde78ddg1c95x.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F08088dwzde78ddg1c95x.png" alt=" " width="800" height="297"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3xz1w05znc6e2ml1ucx0.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3xz1w05znc6e2ml1ucx0.png" alt=" " width="800" height="657"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpwh9z1azacbmrqg78ohj.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpwh9z1azacbmrqg78ohj.png" alt=" " width="800" height="362"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;A preview of my Python terminal Blackjack game during gameplay.&lt;/p&gt;

&lt;p&gt;One of the parts I am most proud of is how the project is organized. Instead of putting everything into one file, I used multiple Python files and classes to separate responsibilities. The repository includes files such as Black_Jack_Game.py, game.py, player.py, dealer.py, hand.py, deck.py, and card.py. The game logic is built around a simple object model using Game, Player, Dealer, Deck, Hand, and Card. This helped me practice writing code in a way that is easier to read, manage, and improve over time.&lt;/p&gt;

&lt;p&gt;The Python code itself handles the full flow of a Blackjack round. The program asks the player for a bet, deals cards to both the player and the dealer, checks for blackjack, allows the player to hit or stand, runs the dealer’s automatic turn, and then settles the round based on the outcome. The Hand logic calculates the best value for a hand and correctly handles aces as either 1 or 11 when needed. The game also includes chip tracking, blackjack payout handling, dealer rules for drawing to 17, and outcomes such as busts, ties, and standard wins or losses. Working on these features helped me better understand conditional logic, functions, class design, and how different parts of a Python program communicate with each other.&lt;/p&gt;

&lt;p&gt;This project also helped me grow in areas beyond just writing code. I used Git and GitHub to manage updates to the repository, which gave me more experience with version control and documenting my work like a real project. That was important to me because I want to keep building projects that not only improve my technical skills, but also show my progress as a student developer. This Blackjack game may run in the terminal, but it taught me lessons that apply to larger software projects too: planning the structure of a program, debugging logic, organizing files, and improving code step by step.&lt;/p&gt;

&lt;p&gt;You can view the full project here:&lt;br&gt;
GitHub Repository: &lt;a href="https://github.com/MFielder16/Black_Jack_Game" rel="noopener noreferrer"&gt;https://github.com/MFielder16/Black_Jack_Game&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Overall, this project was an important step in my journey as a college student learning programming. It helped me turn Python concepts into something playable and complete, while also giving me practice with code organization and software development workflow. Projects like this remind me that growth in programming does not only come from studying concepts, but from building real things and learning through the process.&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>gamedev</category>
      <category>python</category>
      <category>showdev</category>
    </item>
  </channel>
</rss>
