philsupertramp / chess

stale project
0 stars 0 forks source link

Figure `locked` should contain early exit #1

Closed philsupertramp closed 3 years ago

philsupertramp commented 3 years ago

Any figure except knight Kk is locked whenever each direction its allowed to has another figure on it.

O:= Empty field
X:= filled field

X X X
X K X
X X X

X X X
X Q X
X X X

X O X
O B O
X O X

O X O
X R X
O X O

O X O
O P O
O O O