问题
The question is, how do you make a robot for Robocode using Python? There seem to be two options:
- Robocode + Jython
- Robocode for .NET + Iron Python
There's some info for the first, but it doesn't look very robust, and none for the latter. Step by step, anyone?
回答1:
As long as your java-class extends robocode.Robot
everything is recognized as robot.
It doesn't matter where you put the class.
来源:https://stackoverflow.com/questions/8683501/robocode-python