ChessUSA.com TalkChess.com
Hosted by Your Move Chess & Games
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

OliThink 5.3.1 released (Win, Mac, Linux and Java)
Post new topic    TalkChess.com Forum Index -> Computer Chess Club: General Topics Flat
View previous topic :: View next topic  
Author Message
Oliver Brausch



Joined: 18 Dec 2007
Posts: 237
Location: Munich, Germany

PostPost subject: Re: OliThink 5.3.1 released (Win, Mac, Linux and Java)    Posted: Fri Mar 02, 2012 12:12 pm Reply to topic Reply with quote

OliverBr wrote:
There we go, OliThinK move generator is not working correctly Sad


Code:

./olithink531b -sd 4 "8/2p5/3p4/KP5r/1R3p1k/8/4P1P1/8 w - -"
perft
Depth:1 Nodes:14
Depth:2 Nodes:193
Depth:3 Nodes:2850
Depth:4 Nodes:43721


Of course, the en-passant-super-pin. I implemented it and never tested, it was buggy since version 5.0.0!

For anyone, who wants to patch OliThink <= 5.3.1: In generateCaps() it must be:

Code:

                           xorBit(clbd, colorb+(c^1));
                           hh = ROCC1(f);
                           if (!(hh & BIT[kingpos[c]]) || !(hh & colorb[c^1] & RQU)) {
                                   a = a | BIT[ENPASS];
                           }
                           xorBit(clbd, colorb+(c^1));


instead of


Code:

                           xorBit(clbd, colorb+c);
                           hh = ROCC1(f);
                           if (!(hh & BIT[kingpos[c]]) || !(hh & colorb[c^1] & RQU)) {
                                a = a | BIT[ENPASS];
                           }
                           xorBit(clbd, colorb+c);
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Subject Author Date/Time
OliThink 5.3.1 released (Win, Mac, Linux and Java) Oliver Brausch Tue Feb 28, 2012 3:34 am
      Re: OliThink 5.3.1 released (Win, Mac, Linux and Java) Graham Banks Tue Feb 28, 2012 4:47 am
      Re: OliThink 5.3.1 released (Win, Mac, Linux and Java) Matthias Gemuh Tue Feb 28, 2012 5:53 am
      Re: Thank you a lot....but....... Ruxy Sylwyka Tue Feb 28, 2012 6:08 am
            Re: Thank you a lot....but....... Oliver Brausch Tue Feb 28, 2012 11:15 am
                  Re: Thank you a lot....but....... Ruxy Sylwyka Tue Feb 28, 2012 11:36 am
      Re: OliThink 5.3.1 released (Win, Mac, Linux and Java) Marek Soszynski Tue Feb 28, 2012 6:58 am
            Re: OliThink 5.3.1 released (Win, Mac, Linux and Java) Jim Ablett Tue Feb 28, 2012 9:09 pm
                  Re: OliThink 5.3.1 released (Win, Mac, Linux and Java) Marek Soszynski Tue Feb 28, 2012 10:15 pm
                        Re: OliThink 5.3.1 released (Win, Mac, Linux and Java) Jim Ablett Tue Feb 28, 2012 10:28 pm
                               Jim Ablett Tue Feb 28, 2012 10:56 pm
                              Re: OliThink 5.3.1 released (Win, Mac, Linux and Java) Marek Soszynski Tue Feb 28, 2012 10:56 pm
                                    Re: OliThink 5.3.1 released (Win, Mac, Linux and Java) Marek Soszynski Tue Feb 28, 2012 11:21 pm
                                          Re: OliThink 5.3.1 released (Win, Mac, Linux and Java) Jim Ablett Tue Feb 28, 2012 11:39 pm
                                                Re: OliThink 5.3.1 released (Win, Mac, Linux and Java) Marek Soszynski Tue Feb 28, 2012 11:51 pm
                                                      Re: OliThink 5.3.1 released (Win, Mac, Linux and Java) Jim Ablett Wed Feb 29, 2012 12:19 am
                                                            Re: OliThink 5.3.1 released (Win, Mac, Linux and Java) Steven Atkinson Wed Feb 29, 2012 10:46 am
                                                                  Re: OliThink 5.3.1 released (Win, Mac, Linux and Java) Jim Ablett Wed Feb 29, 2012 10:58 am
                                                                        Re: OliThink 5.3.1 released (Win, Mac, Linux and Java) Steven Atkinson Wed Feb 29, 2012 12:14 pm
                                                                              Re: OliThink 5.3.1 released (Win, Mac, Linux and Java) Jim Ablett Wed Feb 29, 2012 11:08 pm
                                                                                    Re: OliThink 5.3.1 released (Win, Mac, Linux and Java) Marek Soszynski Thu Mar 01, 2012 12:06 am
                                                                                          Re: OliThink 5.3.1 released (Win, Mac, Linux and Java) Oliver Brausch Thu Mar 01, 2012 12:51 am
                  Re: OliThink 5.3.1 released (Win, Mac, Linux and Java) Oliver Brausch Tue Feb 28, 2012 11:56 pm
                        Re: OliThink 5.3.1 released (Win, Mac, Linux and Java) Jim Ablett Wed Feb 29, 2012 12:13 am
      Re: OliThink 5.3.1 released (Win, Mac, Linux and Java) Lucas Braesch Tue Feb 28, 2012 10:10 am
            Re: OliThink 5.3.1 released (Win, Mac, Linux and Java) Oliver Brausch Tue Feb 28, 2012 11:08 am
      Re: OliThink 5.3.1 released (Win, Mac, Linux and Java) Mesrine Wed Feb 29, 2012 7:46 am
            Re: OliThink 5.3.1 released (Win, Mac, Linux and Java) Jim Ablett Thu Mar 01, 2012 5:50 am
                  Re: OliThink 5.3.1 released (Win, Mac, Linux and Java) Oliver Brausch Fri Mar 02, 2012 11:31 am
                        Re: OliThink 5.3.1 released (Win, Mac, Linux and Java) Oliver Brausch Fri Mar 02, 2012 12:12 pm
Post new topic    TalkChess.com Forum Index -> Computer Chess Club: General Topics

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Powered by phpBB © 2001, 2005 phpBB Group
Enhanced with Moby Threads