This is for tealeaf first week assignment.
14/02/06 write some comment, and it can used multi decks now.
Next step:
- don't just play once, player can play more times
- maybe we can let player have chips?
14/02/05 It's first version. Here is some description about the blackjack.rb:
- It support multiplayers, and it will remember all player's name
- Players' name should not be conflict, or the program will shutdown
- The game rule:
- If player busted, player lose.(No matter what dealer's point is)
- If player blackjack, player win.(No matter what dealer's point is)
- If dealer busted, player win.
- If dealer blackjack, player lose.
- Then who's point is bigger, who win.
- If player's point is equal to dealer's point, game draw.