This console app allows you to play blackjack with multiple people. Some features that it includes:
- Adding players
- Betting points
- Hit/Stand/Double/Split/Surrender
- Bust
- Dealer drawing phase (deals with dealer having
Blackjack
at the beginning of a turn allowing players to push ) - Dealers hidden hand
- Payouts
- Nicely designed console app that clears after each command
Some of the technology used:
- Written entirely in C# on .NET
This project extensively demonstrates the use of classes/methods/Iterations
In this project, you are creating a playable game of Blackjack. If you haven't played this game ever, or in a while, grab a deck of cards and play a few games.
- Practice the skills and ideas you have learned so far.
- Effectively use loops, conditionals, and other control structures to implement control flows
- Demonstrate usage of data structures to model resources.
Create a single-player blackjack game that plays against the house, i.e., a human player and computer dealer. You are free to create the user interface however you want, but keep it simple for Explorer Mode.
General Rules:
-
The game should be played with a standard deck of playing cards (52).
-
The house should be dealt two cards, hidden from the player until the house reveals its hand.
-
The player should be dealt two cards, visible to the player.
-
The player should have a chance to hit (i.e. be dealt another card) until they decide to stop or they bust (i.e. their total is over 21). At which point they lose regardless of the dealer's hand.
-
When the player stands, the house reveals its hand and hits (i.e. draw cards) until they have 17 or more.
-
If dealer goes over 21 the dealer loses.
-
The player should have two choices: "Hit" and "Stand."
-
Consider Aces to be worth 11, never 1.
-
The app should display the winner. For this mode, the winner is who is closer to a blackjack (21) without going over.
-
There should be an option to play again; this should reset the hands and reshuffle the deck.
- Reveal one of the house's cards to the player when cards dealt.
- Consider aces be worth one or eleven.
- Allow the player to "Split".
- Improve the win requirements. From Wikipedia:
Players win by not busting and having a total higher than the dealer, or not busting and having the dealer bust, or getting a blackjack without the dealer getting a blackjack. If the player and dealer have the same total (not counting blackjacks), this is called a "push," and the player typically does not win or lose money on that hand. Otherwise, the dealer wins.
- Add a betting system that carries between rounds.
- Allow the player to "Double down" or "Surrender."
- Add more players.