Position-Analyser¶
Position-Analyser¶
The Position-Analyser is an extra tool which can be started from the main window of the chess GUI. It allows to analyse the position using some properties shown in the chess programming website (CPE). It consists of the Board displaying the current position and the several properties of the position with the:
Attacked pieces
Attacking pieces
Bad bishops, i.e. bishops whose mobility is restricted by own pawns
Blocked pawns, i.e. pawns blocked by a pawn of opposite color
Controlled central squares, i.e. control over the center squares (E4, E5, D4, D5)
Fiancettoed bishops, i.e. bishops on knight pawn squares
Hanging pieces, i.e. pieces being undefended and attacked
Isolated pawns, i.e. pawns without supporting pawns in the adjacent files
Passed pawns, i.e. pawns which cannot be attacked by pawns of opposite color anymore
Pinned pieces, i.e. pieces required at the current square to protect the king
Reachable Squares, is an indicator of the piece mobility
Stacked pawns, i.e. multiple pawns on a single file
Supported pawns, i.e. pawns protected by pawns in the adjacent files
Trapped pieces, i.e. pieces that cannot move anymore
Undefended pieces, i.e. pieces which are not defended irrespective whether they are attacked
By selecting a color for a property, the corresponding pieces are highlighted on the board. The highlight color
green for positive properties
yellow for neutral properties
red for negative properties
indicates the valuation of the position.
- class analysePosition.AnalysePositionClass(parent=None)[source]¶
The chessboard is based on Qt’s QGraphicsView.