The Blackjack game written in Java provides a graphical user interface (GUI) for players to enjoy a simplified version of the classic card game. Upon starting the game, players are dealt an initial set of two cards each, and the goal is to build a hand with a total value as close to 21 as possible without exceeding it. The game features a deck of standard playing cards, including numbered cards, face cards (King, Queen, Jack), and Aces, each contributing their respective values to the hand.

Players can interact with the game through three primary buttons: “Hit,” “Stand,” and “New Game.” The “Hit” button allows players to draw additional cards to improve their hand, while the “Stand” button signals the end of the player’s turn, transitioning to the dealer’s turn. The dealer then draws cards until their hand reaches a value of 17 or higher, as per standard Blackjack rules.

The GUI displays the player’s and dealer’s hands, along with their respective total values. Throughout the game, a status message informs players about their current actions, such as whether they’ve busted by exceeding 21 or if they’ve won or lost the round. After each game concludes, players have the option to start a new game by clicking the “New Game” button.