fuckulated movegenerator into a good coregenerator

Need to test all edge cases for new position after move (castle/en passant/promotion).
En passant crashes, likely easy fix.
castle/promotion new position untested.

Yoda: A feature branch absolutely necessary was.
Me: With that Truth I agree.
This commit is contained in:
2021-11-15 19:36:19 +01:00
parent 96c342b3d4
commit bf520b6c71
4 changed files with 56 additions and 15 deletions

View File

@@ -63,7 +63,7 @@ enum {
#define SET_BLACK(p) ((p) |= MASK_COLOR)
#define SET_COLOR(p, c) (!(c)? SET_WHITE(p): SET_BLACK(p))
/* square_t bits structure : ffffrrrr
/* square_t bits structure : rrrrffff
* ffff: file
* rrrr: rank
*/