-
Book Overview & Buying
-
Table Of Contents
arc42 by Example
By :
In contrast to the static building block view, this section visualizes dynamic aspects. How do the pieces work together?
After establishing the XBoard protocol, the client (white) starts a game by indicating a move. The following sequence diagram shows an example interaction at the subsystem level from the input, "e2e4" (white pawn e2-e4), to DokChess' response, which is the output "move b8c6" (black knight b8-c6, the "Nimzowitsch defense" (https://en.wikipedia.org/wiki/Nimzowitsch_Defence)):
First, the Text UI subsystem validates the input with the aid of the Rules subsystem (refer V 8.4, Plausibility Checks and Validation). The move in the example is recognized as legal and performed on the (stateful) Engine (the performMove message) afterward. Then, the Text UI subsystem asks the Engine to determine its move. Since move computation can...
Change the font size
Change margin width
Change background colour