Page 1 of 1

RebornMainsworthy engine with unseen source

PostPosted: 29 Jul 2012, 18:55
by mainsworthyReborn
Hi ,I have not fixed an error in remainsworthy, but I did base the new engine RebornMainsworthy on its code and fixed the error. the souce code has never before been released.

its available at Leo site in the Mainsworthy engine page
http://wbec-ridderkerk.nl/

the source code, has some easy to follow steps, it defines all move of each piece from all squares without a real-time move generator. it still has a generator but its basicaly just dropping moves from the list that are unavailable.

It dosnt check move legality.

it has very easy enpassant code to follow, eg if you move a pawn diagonaly but the square is empty then your useing enpassant, so delete piece.

it dosnt have a book, and it uses a basic algo.

Mark Ainsworth

Re: RebornMainsworthy engine with unseen source

PostPosted: 31 Jul 2012, 06:56
by mainsworthyReborn
I've just added the code for an oppening book. The unusual books allow you to see the position and then give a reply , and is editable in a text editor.