I'm trying to write a script that takes two Bots and then feeds them to an engine for them to play a game. As an example usage:
$:python rungame.py smartbot.py dumbbot.py
Detected SmartBot in smartbot.py...
Detected DumbBot in dumbbot.py...
Running game...
The problem I'm having is that I have no idea how to detect/get the Bot objects out of the modules that are provided via the command line. (If it helps any, I wouldn't at all mind enforcing conventions.) How do I do this?