Page 1 of 1

AI Hook

PostPosted: July 2nd, 2011, 5:41 am
by ru5150
If this has been discussed before point me to it.

I would be great if there was a hook to call an AI. Not asking for any AI itself. Just the ability to put in the code to be an opponent. Put the hooks in and let people create there own AI. It would be very interesting what kinds of AI's could be developed in an evolutionary fashion.

pc

Re: [messages] [Feature Requests] AI Hook

PostPosted: July 2nd, 2011, 10:19 am
by mkiefte
I don't think a hook is necessary. Your AI would have to be programmed in Java. There's nothing that would prevent you from doing it now. The AI would just be another form of automation in a custom Java class.

- M.



On 2011-07-02, at 2:41 AM, ru5150 wrote:

> If this has been discussed before point me to it.
>
> I would be great if there was a hook to call an AI. Not asking for any
> AI itself. Just the ability to put in the code to be an opponent. Put
> the hooks in and let people create there own AI. It would be very
> interesting what kinds of AI's could be developed in an evolutionary
> fashion.
>
> pc
>
> _______________________________________________
> Read this topic online here:
> viewtopic.php?p=23613#p23613
> _______________________________________________
> messages mailing list
> messages@vassalengine.org
> http://www.vassalengine.org/mailman/listinfo/messages
>

Re: [messages] [Feature Requests] AI Hook

PostPosted: July 2nd, 2011, 12:02 pm
by uckelman
Thus spake ru5150:
> If this has been discussed before point me to it.
>
> I would be great if there was a hook to call an AI. Not asking for any
> AI itself. Just the ability to put in the code to be an opponent. Put
> the hooks in and let people create there own AI. It would be very
> interesting what kinds of AI's could be developed in an evolutionary
> fashion.
>
> pc
>

You will have an easier time of this with VASSAL 4 than with VASSAL 3
(though this is some ways off at present). The plan there is that you'd
simply write a client which implements your AI.

--
J.

Re: AI Hook

PostPosted: July 2nd, 2011, 12:36 pm
by ru5150
Excellent. Now all I have to do is learn Java. :o