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 

Regarding options ponder flag
Post new topic    TalkChess.com Forum Index -> Computer Chess Club: Programming and Technical Discussions Flat
View previous topic :: View next topic  
Author Message
Marco Belli



Joined: 23 May 2010
Posts: 591

PostPost subject: Re: Regarding options ponder flag    Posted: Wed Dec 06, 2017 8:14 pm Reply to topic Reply with quote

Fulvio wrote:
LocutusOfPenguin wrote:

Analyse im doing with "go infinite" Brain with "go ponder".


When pondering, are you sending 2 "go" for each move, right?

>> setoption name Ponder value true
>> ucinewgame
>> isready
wait for readyok

>> position startpos moves
>> go movetime 1000

after 1 second the engine replies:
<< bestmove d2d4 ponder d7d5

and immediately the GUI sends:
>> position startpos moves d2d4 d7d5
>> go ponder

When the user moves:
>> stop
wait for bestmove

>> ponderhit (if the user played the ponder move) or position
>> go movetime 1000
etc...


NO, it doesn't work this way Smile

it work in the following way:
< messages from gui to engine
> messages from engine to gui
# my comments

Quote:
# the game start and the gui ask the engineA to "go"
< position startpos moves e2e4 e7e5
< go wtime 50000 btime 50000

# the engineA start searching and printing his information, then after some time it print his best move and stop thinking:
> bestmove g1f3 ponder b8c6

#the gui make the engineB start thinking, and tell the engineA to ponder
< position startpos moves e2e4 e7e5 g1f3 b8c6
< go wtime 49900 btime 48700 ponder

# the engineA start poindering on the position specificed by the gui and print info about his search..
# now there are 2 possibility
# case A: the engineB play b8c6 by printing bestmove b8c6
# the gui send to the engine a the following comand:

< ponderhit

# now the engine know that he has searched the right move and he continue his search in a standard way, stopping when he want.
# the engineA eventually stop thinking and print his bestmove
> bestmove f1c4 ponder g8f6

# case b: the engineB play another move ,let's say it play g8f6
# in this case the gui send the stop command to the engine, which should not send his bestmove, setup the new position and send the go command
< stop
< position startpos moves e2e4 e7e5 g1f3 g8f6
< go wtime 49900 btimer 45000
# the engineA start the new search after a pondermiss

_________________
http://vajoletchess.blogspot.it/
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Subject Author Date/Time
Regarding options ponder flag Juergen Precour Wed Dec 06, 2017 1:03 pm
      Re: Regarding options ponder flag Marco Belli Wed Dec 06, 2017 1:52 pm
            Re: Regarding options ponder flag Rasmus Althoff Wed Dec 06, 2017 5:28 pm
      Re: Regarding options ponder flag H.G.Muller Wed Dec 06, 2017 2:58 pm
            Re: Regarding options ponder flag Juergen Precour Wed Dec 06, 2017 3:25 pm
                  Re: Regarding options ponder flag H.G.Muller Wed Dec 06, 2017 4:12 pm
                        Re: Regarding options ponder flag Marco Belli Wed Dec 06, 2017 4:47 pm
                        Re: Regarding options ponder flag Juergen Precour Wed Dec 06, 2017 4:50 pm
                        Re: Regarding options ponder flag Rasmus Althoff Wed Dec 06, 2017 5:35 pm
      Re: Regarding options ponder flag Fulvio Benini Wed Dec 06, 2017 7:39 pm
            Re: Regarding options ponder flag Marco Belli Wed Dec 06, 2017 8:14 pm
                  Re: Regarding options ponder flag Fulvio Benini Wed Dec 06, 2017 8:34 pm
                        Re: Regarding options ponder flag Marco Belli Wed Dec 06, 2017 8:45 pm
                              Re: Regarding options ponder flag Fulvio Benini Wed Dec 06, 2017 8:58 pm
                                    Re: Regarding options ponder flag Marco Belli Wed Dec 06, 2017 9:12 pm
                                          Re: Regarding options ponder flag Fulvio Benini Wed Dec 06, 2017 10:40 pm
                        Re: Regarding options ponder flag H.G.Muller Wed Dec 06, 2017 9:58 pm
                              Re: Regarding options ponder flag Rasmus Althoff Wed Dec 06, 2017 10:25 pm
                                    Re: Regarding options ponder flag Fulvio Benini Wed Dec 06, 2017 10:43 pm
                                          Re: Regarding options ponder flag Rasmus Althoff Wed Dec 06, 2017 10:51 pm
                                                Re: Regarding options ponder flag Fulvio Benini Wed Dec 06, 2017 10:58 pm
                                                      Re: Regarding options ponder flag Rasmus Althoff Wed Dec 06, 2017 11:08 pm
                                                            Re: Regarding options ponder flag Fulvio Benini Wed Dec 06, 2017 11:23 pm
                                                                  Re: Regarding options ponder flag Rasmus Althoff Wed Dec 06, 2017 11:28 pm
                                                                        Re: Regarding options ponder flag Fulvio Benini Wed Dec 06, 2017 11:44 pm
                                                                              Re: Regarding options ponder flag Rasmus Althoff Thu Dec 07, 2017 12:06 am
                                    Re: Regarding options ponder flag H.G.Muller Wed Dec 06, 2017 11:24 pm
                                          Re: Regarding options ponder flag Rasmus Althoff Wed Dec 06, 2017 11:48 pm
                                                Re: Regarding options ponder flag H.G.Muller Thu Dec 07, 2017 7:43 am
                                                      Re: Regarding options ponder flag Rasmus Althoff Thu Dec 07, 2017 9:42 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