Skip to content

shtigran/Blackjack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Blackjack

C#6.0 .NET Framework 4.6


Test

gif source


About Blackjack

Blackjack, also known as twenty-one, is the most widely played casino banking game in the world.[1] Blackjack is a comparing card game between a player and banker-dealer, meaning players compete against the dealer but not against other players. It is played with one or more decks of 52 cards. The objective of the game is to beat the dealer in one of the following ways:

Get 21 points on the player's first two cards (called a "blackjack" or "natural"), without a dealer blackjack; Reach a final score higher than the dealer without exceeding 21; or Let the dealer draw additional cards until his or her hand exceeds 21.


Purpose

This is a light version of the game, that runs on the Console. With this program you can easily learn and practice the Blackjack. I hope the program will help to master the principles of the game with the addition of risk and luck.


The structure of program

The progrm has two classes, which implement severeal methods. The first class is Deck, which is responsible for creatin deck, set deck, and for handing. There are SetDeck, ShowDeck, Handing and HandingOne methods in Deck class, which allow manipulate with deck of card. The second class is Game class, which is responsible for gaming process and has Start() method, which uses the methods of Deck class. In Programm class we create an object of Game and invoke its start methods and game starts.

For more information see [Code:] [Code:]: https://github.com/shtigran/Blackjack/blob/master/Deck%20Of%20Cards/Deck%20Of%20Cards/Program.cs

alt text

About

Blackjack, Deck of cards, Card game.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages