Writing an AI mostly is more about implementing good concepts and not speed or compactness. I know no other language in which you can write code so fast and effective.
The compare between Python and LUA lacks anyways and this is maybe the wrong thread to discuss this.
Search found 7 matches
- 23 Aug 2010, 20:17
- Forum: AI
- Topic: SAIL - A Python AI Framework
- Replies: 19
- Views: 8022
- 19 Jun 2010, 15:43
- Forum: AI
- Topic: Python AI Interface
- Replies: 11
- Views: 3801
Re: Python AI Interface
Update:
There now is type checking in the interface, so the engine won't crash if wrong types are used.
There now is type checking in the interface, so the engine won't crash if wrong types are used.
- 19 Jun 2010, 14:03
- Forum: AI
- Topic: Python AI Interface
- Replies: 11
- Views: 3801
Re: Python AI Interface
Update:
To call functions of the interface, you do not need to instantiate the interface classes anymore.
Past:
self.map=Map(self.team)
self.map.get...()
Now:
Map.get...()
If an event occurs, only the AI which receives the event is able to call the interface.
To call functions of the interface, you do not need to instantiate the interface classes anymore.
Past:
self.map=Map(self.team)
self.map.get...()
Now:
Map.get...()
If an event occurs, only the AI which receives the event is able to call the interface.
- 16 Jun 2010, 14:29
- Forum: AI
- Topic: Python AI Interface
- Replies: 11
- Views: 3801
Re: Python AI Interface
That are great news. I will implement type checking as soon as possible. I just have little time at the moment. But it will definitely be implemented. If done so, an exception would be thrown. The engine however wouldn't be crashing anymore. There is no documentation of the interface, because... wel...
- 10 Jun 2010, 23:30
- Forum: AI
- Topic: Python AI Interface
- Replies: 11
- Views: 3801
Re: Python AI Interface
There are two ways the interface interacts with Spring: Events: The engine generates events which are translated into a Python data structure. This is an conversion from a C struct into a Python dict. Callback: The first event (init) holds in it's C struct a pointer to a callback object, which also ...
- 31 May 2010, 15:21
- Forum: Engine
- Topic: Testers for the AI Python Interface needed!
- Replies: 11
- Views: 3288
Re: Testers for the AI Python Interface needed!
Yeah, when I am online and have time, I hang out the most time in #ai right now. Just write me a message.
- 31 May 2010, 14:05
- Forum: Engine
- Topic: Testers for the AI Python Interface needed!
- Replies: 11
- Views: 3288
Re: Testers for the AI Python Interface needed!
@WeberGunso thanks for testing. The type checking and error handling is not implemented at the moment, because it was not the main focus of development in the first place. It definitley will come in the next time. If you are interrested in how the python bindings are generated and work, I can give y...