O'Reilly logo

Sams Teach Yourself Object Oriented Programming in 21 Days, Second Edition by Anthony Sintes

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required