I am interrested in doing a programming game using python, and I would like to do it in the style of GunTactyx (http://apocalyx.sourceforge.net/guntactyx/index.php). Only much simpler, as I am primarily interrested in the parallel execution of python scripts from python.
Gun Tactyx challenges the player to write a program that controls individual units working together in teams, where each instruction carries a time panalty. Each program is executed in its own protected environment, communicating with the game world through functions that can interact with the game world.
I was wondering if there is a Python way of achieving similar effect.
Pseudo code structure of the game engine would be something like:
Instantiate units with individual programs
while 1
Update game world
for unit in units:
unit.tick()
The simulation would run until a timeout or some goal condition.
Kind regards
/Tax