It might have taken seemingly forever to get there, but this chapter has pounded this DicePanel class into submission; you’ve created a truly reusable class. It uses encapsulation to hide as many details as possible so that the outside user of the class doesn’t need to know anything about its internal operation—the user simply adds an instance to a form, sets some properties, and off he goes.
The next chapter takes the DicePanel class and uses it in some more complex games, showing how to use the classes you build as the foundation for new, larger projects. These next games will even be fun to play for more than five seconds, I promise….