https://github.com/AndyGrant/Ethereal/blob/fdfc70b65cc0d98632f4f102c462cdb9f6ded952/src/board.h#L32 I think MAX_MOVES is the appropriate size here.