Fox hunt - Can anyone figure out how to program an AI?

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • Can anyone know how to program an AI in this Fox Hunt game, where the white pieces would co-oporate to trap the black piece?
    Here is the source, currently it is set that the white pieces move random, I want them to wisely & co-oporately trap the black piece.
    Please login to see this link.

    I would like to know how to do it please, thank you.

    Peace & Love

  • Hey there, sorry, I'm not sure I can be much help to you. I loaded up your program and saw around 80 events... so yeah, that scared me :)

    Are you sure that system's the best for what you want it to do? I think I've seen some grid extensions available. Besides accounting for every possible scenario, I'm not sure what to suggest I'm afraid.

    Hope someone is able to help you out!

  • For a following AI, I would recommend placing an invisible tracker dot with an incrementing ID. The "foxes" should then pick one with the lowest ID and head towards it. Once they've hit it, the dot should be destroyed and the next dot (with the lowest ID) should be targeted.

    Darkwire Software Lead Programmer (C++ & C#)
    Please login to see this link. | Please login to see this link. | Please login to see this link. | Please login to see this link.

  • I would like to give you some feedback.
    1. I could not break out of your game because there was a loss of mouse control. Used the keyboard in the Task Manager.
    2. I would recommend changing the name of your game, or it will be right up there with the porn sites.

    I don't understand your AI. I didn't know it was going to be a board game. Sorry that I can't help you with it.

    Marv

    458 TGF to CTF 2.5+ Examples and games
    Please login to see this link.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!