Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use 45 degree rotated bitboards for bishop/queen move generation #19

Open
jacobgardner opened this issue Dec 20, 2018 · 0 comments
Open
Labels
C:Move Gen Anything dealing with raw chess move generation enhancement New feature or request low priority

Comments

@jacobgardner
Copy link
Owner

jacobgardner commented Dec 20, 2018

Some notes before I abandoned the initial implementation to get it working quickly.

        // if file > rank, above the diagonal
        // if above diagonal: 8 - (file - rank) = row #
        // if below diagonal: rank - file = row #
        // if file == rank => row = 0
        //
        //  if above the diagonal, indicies are from
        //      8 - row #  to 8
        //  if below the diagonal, indicies are from
        //      0 to 8 - row #
@jacobgardner jacobgardner added C:Move Gen Anything dealing with raw chess move generation enhancement New feature or request labels Dec 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C:Move Gen Anything dealing with raw chess move generation enhancement New feature or request low priority
Projects
None yet
Development

No branches or pull requests

1 participant