Week 2 Lab
Create a blackjack game
Play Blackjack
Info on Blackjack
- classes you should have: hand, card, game
- don't consider Aces as possible 1's ... they are always 11s
- This is a 2 hand game (dealer and player)
- no splitting or funny business
- 1 deck in the game
- 52 card deck
- NO WILDS
- New deck every game
- deck must be shuffled every game
- no betting at all
- must have suits (ace of diamonds)
- Dealer hits if less than 16, otherwise dealer stays
- You enter what you play
- No if you get 5 cards you win funnybusiness
- get as close to 21 without going over
- Must beat the dealer
- you can see 1 of dealers cards, while you are playing
- If you get blackjack, you win automagically
To submit your assignment:
- Create a ruby project on GitHub
- Submit a link to it to this project as a GitHub Issue