Chapter 17. Blackjack Iteration 3: Adding Betting

In yesterday’s chapter you saw how to take a fairly primitive Blackjack implementation and iterate it towards a more mature game. Today you will build upon the same Blackjack game by adding simple betting support.

Today’s lesson will give you further experience with the iterative process as well as with OOA and OOD. By the end of today’s lesson, you should also begin to feel more comfortable with the state-based architecture presented yesterday. In fact, one of today’s exercises will ask you to add a new state to the system.

Today you will learn

  • How to extend the Blackjack game’s state architecture in order to add functionality

  • About the benefits that a true OO approach can bring to a system by working ...

Get Sams Teach Yourself Object Oriented Programming in 21 Days, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.