Results 1 to 10 of 22

Thread: Four-in-a-row (FlashPascal program)

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #15
    Quote Originally Posted by SilverWarior View Post
    AI simply follows certain path were it even prevents you to prepare any posible winning situation.
    Yes, it's a very good observation.

    Code:
        if Max(a) >= 2500 then
          result := IndexOf(a, Min(a))
    The a variable is an array of the maximal opponent's score at next move. And 2500 means three stones aligned.

    Quote Originally Posted by SilverWarior View Post
    And this is a joy killer.
    Yes, I see what you mean. I will keep it in mind. Anyway thank you for trying my program and for your instructive report.
    Last edited by Roland Chastain; 19-04-2014 at 10:19 AM.

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
  •