摘要
Robocode是一个寓教于乐的JAVA编程教育软件,但是Robocode的坦克机器人的设计缺乏外部类库的支持,这很大程度上影响了Robocode在其他领域的应用。本文分析Robocode的整体架构及安全机制,通过修改其源代码,实现了规则引擎对坦克机器人的支持,为人工智能等领域在Robocode上做实验奠定了基础。修改后的Robocode能够支持坦克机器人使用Jess规则引擎进行战斗和坦克规则的可视化,并已经应用于一些研究课题。
Robocode is educational software of JAVA programming in the way of entertainment, but its robots' lacking support to external libraries largely limits its application in other disciplines. This paper analyses Robocode's architecture and security system, modifies its source code, and thereby implements the support of Rule Engine for robots, making Robocode a practical experimental platform for fields like Artificial Intelligence. Robocode after modified has successfully supported Robot's fighting with Jess and visualized Jess rules.
出处
《微计算机信息》
北大核心
2007年第36期234-236,共3页
Control & Automation