tiy-houston-q4-rails / day-8

0 stars 1 forks source link

Week 2 Lab

Create a blackjack game

Play Blackjack
Info on Blackjack

  1. classes you should have: hand, card, game
  2. don't consider Aces as possible 1's ... they are always 11s
  3. This is a 2 hand game (dealer and player)
  4. no splitting or funny business
  5. 1 deck in the game
  6. 52 card deck
  7. NO WILDS
  8. New deck every game
  9. deck must be shuffled every game
  10. no betting at all
  11. must have suits (ace of diamonds)
  12. Dealer hits if less than 16, otherwise dealer stays
  13. You enter what you play
  14. No if you get 5 cards you win funnybusiness
  15. get as close to 21 without going over
  16. Must beat the dealer
  17. you can see 1 of dealers cards, while you are playing
  18. If you get blackjack, you win automagically

To submit your assignment: