Alex Baker

Results 49 comments of Alex Baker

We have checks in state now, I wonder if we can safely give states parents and traverse..

Annoyingly though, promoted pieces **are** added to hand

A limitation: _statelessly_ calculating the piece to be captured en-passant doesn't currently work. e.g. if you start a berolina chess game from a FEN position where there's an EP square...

A super complex case: https://www.chessvariants.com/diffmove.dir/lenehau.html

I don't think this can happen any time soon (at least in full form) because of a couple of complex rules, but this is cool: https://www.chessvariants.com/mvopponent.dir/avalanche.html

Actually, after defining other variants, I feel like the way castling is set up currently could be better. Feels like we have redundant options and could just detect rook positions.

This is very possible now after the move refactor, but we don't have a sensible way to define this. One limited option is a flag on pieces that make their...

Betza notation thinks of this as a multileg move (such as the lion in that huge shogi variant) where the piece moves to capture and then moves back again, so...

https://www.chessvariants.com/difftaking.dir/rifle.html

Planning to do this after dart 3.0 comes out with records because it will be nicer to implement what I have in mind (also allowing incrementing/decrementing/setting the value instead of...