Skip to content

A simple black jack game written with C# using ASP.NET Core 3.1 MVC framework.

Notifications You must be signed in to change notification settings

Calance96/SimpleBlackJack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Blackjack

A simple Blackjack game (1 human player vs 1 computer player) written with C# using ASP.NET Core 3.1 MVC framework.

The game rules are as follows:

  1. The player needs to have at least 16 points in order to stay, otherwise the player needs to draw card from the deck.
  2. The weight of A is originally 11. However, when the player holds more than 2 cards, the weight of A is either 1 or 10.
  3. If the player's points exceed 21, the player is considered lost. If the computer gets more than 21 points as well, the game is considered draw.
  4. If the player gets 21 points or two A in the beginning, the player wins automatically. The same goes to computer if the same scenario happens to computer.
  5. The player hits Charlie Blackjack if the player's total point is less than or equal to 21 when the player holds 5 cards (maximum). In such case, the player wins automatically. Otherwise, the computer wins automatically. The same applies to the computer as well.

Demonstration Picture

Demo Pic

Credits

Credits to American Contract Bridge League (ACBL) for the Poker card images. The resources can be found at http://acbl.mybigcommerce.com/52-playing-cards.

About

A simple black jack game written with C# using ASP.NET Core 3.1 MVC framework.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published