xunker / uci

Ruby library for communicating with UCI (Universal Chess Interface) engines.
MIT License
20 stars 13 forks source link

Problems with other engines or newer versions of stockfish #4

Open xunker opened 9 years ago

xunker commented 9 years ago

Reported by Michael A:

Hi,

I tried your gem and all works fine with Ubuntu 14.04, stockfish and movetime 100ms.

Some problems occour with other engines and even with stockfish:

Problem at startup:

  • Expected return to begin with 'bestmove', but got 'readyok' (ReturnStringError) Engines:
  • fruit 2.1.dfsg-6
  • gnuchess 6.1.1-1
  • toga2 3.0.0.1SE1-1

Problem at the end of a game:

  • Engine returned a 'bestmove' that I don't understand: bestmove (none) (UnknownBestmoveSyntax) Engines:
  • glaurung 2.2-2ubuntu1

Problem before the first move if more than 100 ms - e.g. 1000 ms:

  • Expected return to begin with 'bestmove', but got 'info depth 14 seldepth 18 score cp 28 nodes 505809 nps 2634421 time 192 multipv 1 pv g1f3 g8f6 > d2d4 d7d5 e2e3 e7e6 f1d3 f8d6 e1g1 b8c6 c2c4 c6b4 c4c5 b4d3 d1d3' Engines:
  • stockfish 3.0.0+git20130508-2

So it is not usable :-( for me. I think my experience is not good enough to fix your gem. I am fighting hard to use the gem's and have no knowledge in the UCI-protocoll. Could you help me please?

I am very interested in using your gem. I develop a chess program for a blind person.

Kind regards, Michael