Back to the game – Attack of the Orcs v1.1.0
With this knowledge of the exception handling, let's work on the next incremental version of the application.
Preparatory work
Before writing any code, let's first understand how the rest of the section is organized. In a nutshell, we will start with v1.0.0 of the code from Chapter 1, Developing Simple Applications, progressively add the exception handling code, and call the new version v1.1.0.
Note
The Python files in the supporting code bundle already include the exception handling code to be discussed in this section as well as in a later section of this chapter, Defining custom exceptions
The following points elaborate further details:
- We will start by downloading the v1.0.0 of the game from Chapter 1, Developing Simple Applications. The file name is
ch01_ex03_AbstractBaseClass.py
(recall that this was provided as a solution to an exercise in Chapter 1, Developing Simple Applications). You can find this file in this chapter&apos...