Inspired from the game GunTactyx, where you write programs controlling fighting robots. Guntactyx used the Small language, that later is called Pawn.
I am looking into using Python as the scripting language.
My concerns are:
Interfacing to C# The scripts should interface into C# through simple functions, doing stuff like scanning for enemies, rotating and firing. I guess each function should be delayed, so they would take x ms to return.
Bad programs. The system should be tolerant to infinite loops or crashes. I would like each virtual machine to be given X ticks to execute at a time.
Limited memory usage Scripts should not be allowed to use unlimited usage. I would like some sort of cap.
Probably alot of other problems
I would like to end up with something in this "pseudo" style.
robots = a list of robots
while(1)
foreach robot in robots
robot.tick()
gameworld.update()