Skip to content
This repository has been archived by the owner on Apr 28, 2023. It is now read-only.

Draft A Sensible Bit Arrangement For Move Flags #2

Open
Willilio opened this issue Jan 29, 2023 · 0 comments
Open

Draft A Sensible Bit Arrangement For Move Flags #2

Willilio opened this issue Jan 29, 2023 · 0 comments
Assignees
Labels
working Acknowledged issue that is being fixed

Comments

@Willilio
Copy link
Owner

Willilio commented Jan 29, 2023

This is something that will require some thought, but needs to be thought about considerably. Firstly, does the move flags field need to be a U64 (8 bytes) to hold all the information. Will an 8-byte data type keep the struct optimized or is there some way to hack the system so that a smaller data type can be used. Also, I need to decide what kind of bit arrangement is most sensible and which pieces of information are worth storing in the flags. Promotions and en passant are obviously important, but what else (maybe check? checkmate? capturing?)

@Willilio Willilio added this to the Perfect Move Generation milestone Jan 29, 2023
@Willilio Willilio self-assigned this Jan 29, 2023
@Willilio Willilio changed the title Draft a sensible bit arrangement for move flags Draft A Sensible Bit Arrangement For Move Flags Jan 29, 2023
@Willilio Willilio added the working Acknowledged issue that is being fixed label Jan 29, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
working Acknowledged issue that is being fixed
Projects
None yet
Development

No branches or pull requests

1 participant