alexobviously / bishop

A chess logic package for Dart with flexible variant support
https://pub.dev/packages/bishop
Other
19 stars 8 forks source link

More complex drop logic #29

Closed alexobviously closed 1 year ago

alexobviously commented 1 year ago

Currently the logic for determining which squares can be dropped to is fixed, but it would be nicer to allow more complex definitions like e.g. pieces that can only be dropped on the centre 4 squares, or on the player's first rank, etc. Currently possible with actions but maybe worth abstracting that logic out.

alexobviously commented 1 year ago

Done in 1.1.1