File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1695,12 +1695,12 @@ def start(self, engine):
16951695 elif not engine .features ["nps" ]:
16961696 raise EngineError ("xboard engine does not support node limits (feature nps=0)" )
16971697
1698- engine .send_line ("nps 100 " )
1698+ engine .send_line ("nps 1 " )
16991699 engine .send_line ("st {}" .format (int (limit .nodes )))
17001700 if limit .depth is not None :
17011701 engine .send_line ("sd {}" .format (limit .depth ))
17021702 if limit .time is not None :
1703- engine .send_line ("st {}" .format (int ( limit .time * 100 ) ))
1703+ engine .send_line ("st {:0.3f }" .format (limit .time ))
17041704 if limit .white_clock is not None :
17051705 engine .send_line ("{} {}" .format ("time" if board .turn else "otim" , int (limit .white_clock * 100 )))
17061706 if limit .black_clock is not None :
Original file line number Diff line number Diff line change @@ -2908,7 +2908,7 @@ def main():
29082908 mock .expect ("g8f6" )
29092909 mock .expect ("c2c4" )
29102910 mock .expect ("sd 17" )
2911- mock .expect ("st 150 " )
2911+ mock .expect ("st 1.500 " )
29122912 mock .expect ("nopost" )
29132913 mock .expect ("easy" )
29142914 mock .expect ("go" , ["move e7e6" ])
@@ -2920,7 +2920,7 @@ def main():
29202920 mock .expect ("force" )
29212921 mock .expect ("remove" )
29222922 mock .expect ("sd 17" )
2923- mock .expect ("st 150 " )
2923+ mock .expect ("st 1.500 " )
29242924 mock .expect ("nopost" )
29252925 mock .expect ("easy" )
29262926 mock .expect ("go" , ["move c2c4" ])
@@ -2934,7 +2934,7 @@ def main():
29342934 mock .expect ("remove" )
29352935 mock .expect ("undo" )
29362936 mock .expect ("sd 17" )
2937- mock .expect ("st 150 " )
2937+ mock .expect ("st 1.500 " )
29382938 mock .expect ("nopost" )
29392939 mock .expect ("easy" )
29402940 mock .expect ("go" , ["move d2d4" ])
You can’t perform that action at this time.
0 commit comments