Skip to content

This object-oriented C# console window application is a Blackjack game, featuring a BlackjackGame class that handles the game logic. It includes multiple players and betting functionality.

Notifications You must be signed in to change notification settings

EthanStanks/BlackjackConsoleApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Introduction:

This C# console window application is a Blackjack game that has been developed using object-oriented programming concepts. The application includes a BlackjackGame class, which is the core of the game and handles all the game logic. The game is implemented with features such as multiple players and betting functionality.

About the game:

The Blackjack game involves one or more players and a dealer. The objective of the game is to get a hand with a higher value than the dealer's hand without exceeding 21. Each player is dealt two cards, and they can choose to hit (draw another card) or stand (keep their current hand). The dealer then draws cards until their hand value is at least 17 or they bust (exceed 21). The player with the highest hand value that is less than or equal to 21 wins the game.

About the application:

This C# console window application includes the following features:

  • A BlackjackGame class with fields for the dealer hand, player hand, and deck of cards
  • Game logic implemented using various methods such as initial card dealing, player's turn, dealer's turn, declaring a winner, and drawing the game table
  • Multiple player version of the game
  • Betting functionality to allow players to place bets on their hand

How to run the application:

  1. Open the project in a C# IDE such as Visual Studio
  2. Build the project to ensure all dependencies are resolved
  3. Run the application
  4. Follow the on-screen instructions to play the game

Conclusion:

This C# console window application is a fully functional Blackjack game that includes multiple players and betting functionality. It demonstrates the use of object-oriented programming concepts and the implementation of game logic using methods and classes.

About

This object-oriented C# console window application is a Blackjack game, featuring a BlackjackGame class that handles the game logic. It includes multiple players and betting functionality.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages