Recent Forum Posts
From categories:
Luinox86 (guest) 05 Jul 2011 01:27
in discussion Hidden / Per page discussions » Queries & Feedback

Hello Silvestro,

I am writing a chess aesthetic perception program using VB6. My program opens PGNs and plays through them without a problem. At this step I need to communicate with the chess engine Houdini and ask it to generate the possible variations of a given FEN for me. I have been trying to get the communication work but have had some problems.

I first tried to run the engine by calling a simple shell from inside my code, then capture the result, but the matter is that this engine doesn't work with a one-line command, so I basically need to get control over the console window then play around with it. This method is way complicated and complex.

I was thinking of an alternative method like how the GUIs (like Arena) communicate with the engine. Houdini is a UCI compatible engine and I could successfully install it inside Arena and get it working.

Now I would really appreciate it if you can help me to establish a communication between my code (VB6) and the engine directly just like a GUI does; so I can simply send commands and receive the answer back from the engine.

If you are interested I can send you the files and the details I am trying to get done with. By the time being, I want to know how can I get my code to act as an GUI-like software to have a standalone communication with the engine.

I had problem registering in the website because of my Internet connection, I would be glad to have your email address by the way if it's possible.

by Luinox86 (guest), 05 Jul 2011 01:27

Hello Phil,

Which operating system and compiler are you using? I wrote the Hello World chess engine a couple of years ago and I vaguely remember having a problem of the type you describe, which I solved by compiling the same code with a different compiler. You may also check whether the chess engine works with a different GUI. I have just tested the Hello World chess engine again and it runs OK on Windows Vista when compiled with Visual C++ 2008 Express Edition and used by the Arena GUI.

hello world chess engine question
phil stodick (guest) 12 Jan 2010 23:20
in discussion Hidden / Per page discussions » Queries & Feedback

I'm an amateur programmer attempting to write a simple chess engine. I was very happy to see your "hello world" code and I tried it out with no success. I also took source code from other sites and could not get them to work either. I'm simply trying to get a basic engine loaded so that it will work with my GUI. I'm using Fritz 11 and when I try to set up the UCI Engine, it fails. I can tell that the engine is getting a "uci" message from the GUI, but it seems to me that it's not sending anything (or the correct message) back. I'm wondering if you know how I might go about troubleshooting the problem. Any help you can give would be greatly appreciated. Thanks.

hello world chess engine question by phil stodick (guest), 12 Jan 2010 23:20

If you have a query about the content of this website or if you would like to leave me some feedback, please post your comment to this page. If you are a member of Wikidot you may alternatively send me a private message.

Contact by Silvestro FantacciSilvestro Fantacci, 02 Feb 2008 13:13
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License