Check out Janggi (Korean Chess), our featured variant for November, 2024.


[ Help | Earliest Comments | Latest Comments ]
[ List All Subjects of Discussion | Create New Subject of Discussion ]
[ List Earliest Comments Only For Pages | Games | Rated Pages | Rated Games | Subjects of Discussion ]

Single Comment

Florea Aurelian asking questions about chess programming[Subject Thread] [Add Response]
Aurelian Florea wrote on Mon, Oct 10, 2016 01:55 AM UTC:

H.G.,

I took notice of talkchess.com and I'll start talking fairy chess there too.

Now I must ask. For bend riders I was generating moves in one bitset<s> (where s stands for board size). So, bottom line I was having on bitset for each piece's moves and one bitset for each piece's captures. I mean all moves not just one leg. I think this way information is more dense. But is that worse that looping for each direction of a piece. Also my bitsets were not null terminated but had a fixed size- the size of the board. So bottom line every piece has a bitboard with availeble moves and a bitboard with availeble captures. Is that ok? Is that recomended?