Results 1 to 8 of 8

Thread: Four-in-a-row for Lazarus

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    PGD Community Manager AthenaOfDelphi's Avatar
    Join Date
    Dec 2004
    Location
    South Wales, UK
    Posts
    1,245
    Blog Entries
    2
    Hi Roland,

    I downloaded this and had a couple of games, not bad

    I like the interface, no clutter, simple and clean.

    I do have a question for you... why is the AI in another EXE? I'm not criticising, I'm just interested in the decisions/reasons behind it.
    :: AthenaOfDelphi :: My Blog :: My Software ::

  2. #2
    Quote Originally Posted by AthenaOfDelphi View Post
    Hi Roland,

    I downloaded this and had a couple of games, not bad

    I like the interface, no clutter, simple and clean.
    Hi! Thanks for trying my game.

    Quote Originally Posted by AthenaOfDelphi View Post
    I do have a question for you... why is the AI in another EXE? I'm not criticising, I'm just interested in the decisions/reasons behind it.
    As I am interested in chess programming, I am curious to learn pipes and inter process communication.

    Besides, it has some advantages : I can work on another engine, even write it in a different language, and try it at once from my GUI. I just have to edit the options.ini file.

    The GUI runs the engine and sends as parameter the history of the current position, a string of characters from '1' to '7'. The engine computes his move, returns it (one character) and closes.
    Last edited by Roland Chastain; 15-04-2014 at 04:48 AM.

  3. #3
    Quote Originally Posted by Roland Chastain View Post
    As I am interested in chess programming, I am curious to learn pipes and inter process communication.

    Besides, it has some advantages : I can work on another engine, even write it in a different language, and try it at once from my GUI. I just have to edit the options.ini file.

    The GUI runs the engine and sends as parameter the history of the current position, a string of characters from '1' to '7'. The engine computes his move, returns it (one character) and closes.
    I think you could benefit from a dynamic library instead. Your actual method is cheating prone.

  4. #4
    Quote Originally Posted by pitfiend View Post
    I think you could benefit from a dynamic library instead. Your actual method is cheating prone.
    Yes, thank you for the advice. Maybe in the next version ?

  5. #5
    Here is a new version, using a DLL.
    Last edited by Roland Chastain; 15-08-2014 at 07:16 AM. Reason: moved zip file to first post

  6. #6
    Just tested it, pretty cool
    Current (and lifetime) project: FAR Colony
    https://www.farcolony.com/

  7. #7
    Quote Originally Posted by farcodev View Post
    Just tested it, pretty cool
    Thank you!

    Here is a new version (please see the first post of the discussion).

    quatre-lazarus.png

    Thanks to circular for his piece of code.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •