This is a simple blackjack game that can be played in the terminal. The game is played against the computer. The game is played with a standard deck of 52 cards. The game is played with the following rules:
- The player and the computer are each dealt two cards.
- The player can see one of the computer's cards.
- The player can choose to hit or stand.
- If the player hits, they are dealt another card.
- If the player stands, the computer will hit until they have a hand value of 17 or higher.
- The player wins if they have a hand value closer to 21 than the computer.
- The player loses if they have a hand value greater than 21.
- The player loses if the computer has a hand value closer to 21 than the player.
- The player wins if the computer has a hand value greater than 21.
- The player wins if the player has a hand value of 21.
To play the game, run the following command in the terminal: