My idea was to implement traits on Piece that return sight lines, etc. This has turned out to be much more complex than I thought it would be. Ultimately, I don't think it's worth the effort. |
||
---|---|---|
.. | ||
bitboard | ||
moves | ||
position | ||
display.rs | ||
lib.rs | ||
piece.rs | ||
square.rs |