Using Python for Modular Artificial Intelligence code

Ilja Heitlager news at helen.demon.nl
Thu Apr 29 04:27:34 EDT 1999


>I've started looking into Python as the AI scripting language for this
>purpose, but I'm having trouble seeing exactly how I could do this.  I want
>a message passing architecture - so one object in the game world sends a
>message to another for interpretation (along with a Python tuple for the
>parameters of the message perhaps).  This requires a two way interface
>between my C++ code and the Python script loaded for the particular game
>object.
Wouldn't you be better of using a network or distributed architecture. Use
Corba or TCP/IP protocol to let your objects interact. Saves you the trouble
of language-interoperatablility and provides possibilities for multi-user
(You're doing a LARGE game project, not?)

Where do you use C++ for anyway? GUI's? Build them in Python, forget C++
until you are done and than use C++ to speed up critical sections

Ilja






More information about the Python-list mailing list