V.4 Solution Strategy
The following table contrasts the quality goals of DokChess with matching architecture approaches and thus provides easy access to the solution:
Figure 5.11: Quality goals and matching approaches
Note
Small letters in brackets, such as (x), link individual approaches from the right-hand side of the table to the following architectural overview diagram.
The following figure presents a general overview of Dokchess architecture:
Figure 5.12: DokChess architectural overview
The remaining section V 4. introduces significant architectural aspects and refers to further information in chapter V.
4.1 Structure of DokChess
DokChess is implemented as a Java program with a main routine. It is roughly split into the following parts:
- An implementation of the rules of chess
- The engine itself, which selects the moves
- The connection to a graphical user interface via the XBoard protocol
- An adapter for a specific opening book format (Polyglot Opening...