The Attack-Force Metric In Chess

Once upon a time there was a Macintosh freeware program for MacOS 7 which displayed all attacked squares using red, indicating the "force" of the attack using stronger hues of that color. Based on this idea, we set forth to create a Maple program which may perhaps aid in chess analysis, using the notion of attack force, AF.

For a chessboard square (x,y), we define the attack-force metric AF(x,y), as:

definition of attack-force chess metric
Definition of the Attack-Force Metric AF(x,y)

Whenever the following are aligned, their forces are summed: R, R-Q, Q-B, B-P, Q-B-P. Note that when a P is on top, the forces are summed only up to the P attacking square and no further. When there is no P, the forces are summed all the way to the boundary of the chessboard or until an obstacle is met.

This definition can be used to calculate AF on every square on the chessboard on any specific configuration. If the calculation is augmented graphically, it can (in principle) be used to analyze some of the elaborate strategic aspects on a given chess position[1].

In order to have a graphical representation of AF however, one needs a color gradation scale, and hence one needs to have a maximum value for the definition. Now, ask yourself: What is the maximum possible AF on a given square for the above metric? Let's assume first that pawn promotions are not allowed. Then look at the following configuration:

maximum attack-force 1  chess 5
A configuration which maximizes AF on square d5, with promotions not allowed.

The position above, implies a total AF of: F(K)+2*F(P)+2*F(N)+F(B)+2*F(R)+F(Q)=65/18.

Can you find another configuration which tops the AF of the above configuration with no promotions? Now extend the definition to allow promotions and look at the diagram, below:

maximum attack-force 2  chess 6
A configuration which maximizes AF on square d5, with promotions allowed.

The position above, implies a total force of: 8*F(N)+2*F(B)+2*F(R)+F(Q)+F(K)+2*F(P)=107/18.

Can you top that? Below are chess configurations generated with a Maple 9 program to graphically display the AF metric, using color gradations of red and green. Green is white. Red is black. Because the general maximum of the metric is difficult to determine, we use the upper bound 65/18 for pure green and pure red. Hence, values below are graded according to color purity.

starting position attack force  chess 3
Starting configuration with the AF metric displayed

attack force analysis  chess 4  attack force metric in matrix form
End-game configuration with AF metric displayed in color and in Matrix form

Note that one can get a good sense of the territorial ownership of the squares of the chessboard using this metric. Study the position above and convince yourself that black has more territory than white, hence is in a much better position (black is actually close to check-mating white).

You can download the Maple 9 worksheet which displays the above analysis, here. Enter the desired board configuration in L and run the entire sheet to get a board colored according to the AF metric, as above.

Notes/References

  1. Chessboard configurations are made with Apronus' The Online Chess Diagram Editor.

Back to Mathematics

web stats

Valid HTML 4.01 Transitional