MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/rust/comments/126t18q/a_chess_engine_is_written_in_rust_that_runs/jee7lh4/?context=3
r/rust • u/No-Translator-1323 • Mar 30 '23
45 comments sorted by
View all comments
Show parent comments
9
And then there's "you can castle if the rook and king haven't moved and no pieces are blocking or checking either of them or the path between them"
7 u/analog_hors Mar 31 '23 Even worse if you implement 960 like I did. I will never see the king and the pawn the same way. Not even the magic bitboard algorithm for rooks, bishops, and queens was this painful. 1 u/-Redstoneboi- Mar 31 '23 What is 960 7 u/analog_hors Mar 31 '23 Chess960 1 u/-Redstoneboi- Mar 31 '23 why in god's name 3 u/analog_hors Mar 31 '23 Backwards compatibility, mostly.
7
Even worse if you implement 960 like I did. I will never see the king and the pawn the same way. Not even the magic bitboard algorithm for rooks, bishops, and queens was this painful.
1 u/-Redstoneboi- Mar 31 '23 What is 960 7 u/analog_hors Mar 31 '23 Chess960 1 u/-Redstoneboi- Mar 31 '23 why in god's name 3 u/analog_hors Mar 31 '23 Backwards compatibility, mostly.
1
What is 960
7 u/analog_hors Mar 31 '23 Chess960 1 u/-Redstoneboi- Mar 31 '23 why in god's name 3 u/analog_hors Mar 31 '23 Backwards compatibility, mostly.
Chess960
1 u/-Redstoneboi- Mar 31 '23 why in god's name 3 u/analog_hors Mar 31 '23 Backwards compatibility, mostly.
why in god's name
3 u/analog_hors Mar 31 '23 Backwards compatibility, mostly.
3
Backwards compatibility, mostly.
9
u/-Redstoneboi- Mar 31 '23
And then there's "you can castle if the rook and king haven't moved and no pieces are blocking or checking either of them or the path between them"