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 

Help with Debugging My Chess Engine - 2
Post new topic    TalkChess.com Forum Index -> Computer Chess Club: Programming and Technical Discussions Flat
View previous topic :: View next topic  
Author Message
Pranav Deshpande



Joined: 19 Sep 2016
Posts: 53

PostPost subject: Help with Debugging My Chess Engine - 2    Posted: Fri Sep 30, 2016 8:31 pm Reply to topic Reply with quote

So, I managed to fix the following:

1. The hash function, now it generates the same hash if we go to the same positions after playing moves or directly load the fen.

2. The castle and enPassant move restoration

3. Also the "loop"

Note that I will change some things(such as use the C++11 random number generator) soon enough.

In the process of doing this, I broke the hashing of uniqueKey somewhere in undoMove(). Also, it was working perfectly until I used a new method to restore the enPassant squares. i.e. after step 2 "castle and ep moves"

Any suggestions?
https://github.com/universecoder/Chess-Engine
Back to top
View user's profile Send private message
Display posts from previous:   
Subject Author Date/Time
Help with Debugging My Chess Engine - 2 Pranav Deshpande Fri Sep 30, 2016 8:31 pm
      Re: Help with Debugging My Chess Engine - 2 Sven Schüle Fri Sep 30, 2016 9:39 pm
            Re: Help with Debugging My Chess Engine - 2 Sven Schüle Fri Sep 30, 2016 10:17 pm
                  Re: Help with Debugging My Chess Engine - 2 Pranav Deshpande Sat Oct 01, 2016 4:04 am
                        Re: Help with Debugging My Chess Engine - 2 Pranav Deshpande Sat Oct 01, 2016 5:58 am
                              Re: Help with Debugging My Chess Engine - 2 Evert Glebbeek Sat Oct 01, 2016 6:06 am
                                    Re: Help with Debugging My Chess Engine - 2 Pranav Deshpande Sat Oct 01, 2016 6:14 am
                              Re: Help with Debugging My Chess Engine - 2 Sven Schüle Sat Oct 01, 2016 9:18 am
                                    Re: Help with Debugging My Chess Engine - 2 Pranav Deshpande Sat Oct 01, 2016 9:45 am
                                          Re: Help with Debugging My Chess Engine - 2 Sven Schüle Sat Oct 01, 2016 10:42 am
                                                Re: Help with Debugging My Chess Engine - 2 Pranav Deshpande Sat Oct 01, 2016 11:00 am
                                                      Re: Help with Debugging My Chess Engine - 2 Sven Schüle Sat Oct 01, 2016 11:46 am
      Re: Help with Debugging My Chess Engine - 2 Pranav Deshpande Sat Oct 01, 2016 8:15 am
            Re: Help with Debugging My Chess Engine - 2 Marco Belli Sat Oct 01, 2016 8:28 am
      Re: Help with Debugging My Chess Engine - 2 Pranav Deshpande Sat Oct 01, 2016 11:25 am
            Re: Help with Debugging My Chess Engine - 2 Sven Schüle Sat Oct 01, 2016 11:39 am
            Re: Help with Debugging My Chess Engine - 2 Marco Belli Sat Oct 01, 2016 12:09 pm
                  Re: Help with Debugging My Chess Engine - 2 Pranav Deshpande Sat Oct 01, 2016 5:11 pm
                        Re: Help with Debugging My Chess Engine - 2 Pranav Deshpande Sat Oct 01, 2016 5:39 pm
                  Re: Help with Debugging My Chess Engine - 2 Pranav Deshpande Sat Oct 01, 2016 6:03 pm
                        Re: Help with Debugging My Chess Engine - 2 Pranav Deshpande Sat Oct 01, 2016 6:42 pm
                              Re: Help with Debugging My Chess Engine - 2 Sven Schüle Sat Oct 01, 2016 7:19 pm
                                    Re: Help with Debugging My Chess Engine - 2 Pranav Deshpande Sat Oct 01, 2016 7:24 pm
                                          Re: Help with Debugging My Chess Engine - 2 Sven Schüle Sat Oct 01, 2016 7:32 pm
                                                Re: Help with Debugging My Chess Engine - 2 Sven Schüle Sat Oct 01, 2016 7:44 pm
                                                      Re: Help with Debugging My Chess Engine - 2 Pranav Deshpande Sun Oct 02, 2016 4:20 am
                                                            Re: Help with Debugging My Chess Engine - 2 Pranav Deshpande Sun Oct 02, 2016 4:20 pm
                                                                  Re: Help with Debugging My Chess Engine - 2 Sven Schüle Sun Oct 02, 2016 4:38 pm
                                                                        Re: Help with Debugging My Chess Engine - 2 Pranav Deshpande Sun Oct 02, 2016 4:55 pm
                              Re: Help with Debugging My Chess Engine - 2 Sven Schüle Sat Oct 01, 2016 7:29 pm
Post new topic    TalkChess.com Forum Index -> Computer Chess Club: Programming and Technical Discussions

 
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