-
Notifications
You must be signed in to change notification settings - Fork 0
MauricioRoman/BlackJack
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
README by: Mauricio Roman date: 21 April 2014 The code in this repository is an entry to meet the Coding Challenge for the Insight Data Engineering Fellows Program, 2014. Here is the description of the challenge: "We'd like you to implement a text-based Blackjack program in one of the following programming languages: Java, Clojure, Scala, C, or C++. There should be one player and one dealer. The dealer should hit until his hand value is 17 or greater. You should implement the basic actions of hitting and standing. Implementing the more advanced actions such as splitting is optional. The player should start with 100 chips and must bet at least 1 chip each hand. Any additional game play features are optional, but welcome." I opted to submit the challenge using C. The data structures used are stacks for the deck itself as well as for the hands of the dealer and the player. The program first creates the total deck using a pre-defined number of decks, then shuffles this deck a pre-defined number of times, and proceeds to deal the cards to the dealer and the player.
About
BlackJack program in C for one player and dealer, created as a response to a coding challenge
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published