Skip to content

SiteRaw/BlackJack-in-C

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

BlackJack in C (Console Game)

Play BlackJack directly in the Windows console (edit the code and re-compile for Unix as there are Windows specific "system" commands).

About the Project

A Console Game of ASCII BlackJack in C created by SiteRaw Projects https://www.siteraw.com

Rules

  • Cards are drawn randomly from a 52-card deck.
  • Number cards (2-10) are worth their face value.
  • J, Q, K are worth 10; A is worth 1 or 11.
  • Goal: Get as close to 21 as possible without going over.
  • Beat the dealer's hand to win.
  • Natural Blackjack (21 with first two cards) pays 3:2.
  • Hit to draw a card; Stay to stop.

Languages

  • C
  • you can find the web equivalent here

Future updates?

  • add Split & Double
  • edit the display of "10" cards

About

A Console Game of BlackJack in C.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages