Robocode + Python

半城伤御伤魂 提交于 2019-12-10 09:45:57

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!