alexobviously / bishop

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

BUG crazyhouse: Pawn drop on first (eight) rank #14

Closed malaschitz closed 1 year ago

malaschitz commented 1 year ago

It is possible now. But it is not according to rules. https://en.wikipedia.org/wiki/Crazyhouse - _A pawn may not be dropped on the 1st or 8th ranks._

malaschitz commented 1 year ago

I solve it with simple check first rank: https://github.com/malaschitz/bishop/commit/7b8e03b56493e91ed6e1332e58f6cd5ad360ad55

alexobviously commented 1 year ago

Fixed in https://github.com/alexobviously/bishop/commit/34bb7c026ddbcccbe3e921e1f21301e4649c2828