## ReadMe for Robocode
Updated 04-Mar-2012 by Flemming N. Larsen
Send all feedback, comments, and issues to the tracker at the
[Robocode project](http://sourceforge.net/tracker/?group_id=37202) at
SourceForge.net.
Robocode Home Page:
[http://robocode.sourceforge.net/](http://robocode.sourceforge.net/)
### TABLE OF CONTENTS
1. [What is Robocode?](#what-is-robocode)
2. [History of Robocode](#history-of-robocode)
3. [System Requirements](#system-requirements)
4. [Getting Started](#getting-started)
5. [Robocode API](#robocode-api)
6. [Robocode Repository](#robocode-repository)
7. [Community](#community)
8. [Challenges](#challenges)
9. [Competition](#competition)
10. [Command Line](#command-line)
11. [Links](#links)
12. [Reporting Defects](#reporting-defects)
13. [Feature Requests](#feature-requests)
14. [Versions](#versions)
15. [News](#news)
16. [How to contribute](#how-to-contribute)
### 1. WHAT IS ROBOCODE?
Robocode is a programming game where the goal is to develop a robot
battle tank to battle against other tanks in Java or .NET. The robot
battles are running in real-time and on-screen.
The motto of Robocode is: Build the best, destroy the rest!
Besides being a programming game, Robocode is used for learning how to
program, primarily in the Java language, but other languages like C# and
Scala are becoming popular as well.
Schools and universities are using Robocode as part of teaching how to
program, but also for studying artificial intelligence (AI). The concept
of Robocode is easy to understand, and a fun way to learn how to
program.
Robocode comes with its own installer, built-in robot editor and Java
compiler, and only pre-requires a Java Virtual Machine (JVM) to exist on
the system where it must be installed. Hence, everything a robot
developer needs to get started is provided with the main Robocode
distribution file (`robocode-xxx-setup.jar`). Robocode also supports
developing robots using external IDEs like e.g.
[Eclipse](http://www.eclipse.org/downloads/), [IntelliJ
IDEA](http://www.jetbrains.com/idea/), [NetBeans](http://netbeans.org/),
[Visual Studio](http://msdn.microsoft.com/en-gb/vstudio/) etc., which
supports the developer much better than the robot editor in Robocode.
The fact that Robocode runs on the Java platform makes it possible to
run it on any operating system with Java pre-installed, meaning that it
will be able to run on Windows, Linux, Mac OS, but also UNIX and
variants of UNIX. Note that Java 5.0 or newer must be installed on the
system before Robocode is able to run. See the [System
Requirements](#system-requirements) for more information.
Be aware that many users of Robocode (aka Robocoders) find Robocode to
be very fun, but also very addictive. :-)
Robocode comes free of charge and is being developed as a spare-time
project where no money is involved. The developers of Robocode are
developing on Robocode because they think it is fun, and because they
improve themselves as developers this way.
Robocode is an Open Source project, which means that all sources are
open to everybody. In addition, Robocode is provided under the terms of
[EPL](http://www.eclipse.org/legal/epl-v10.html) (Eclipse Public
License).
### 2. HISTORY OF ROBOCODE
The Robocode game was originally started by Matthew A. Nelson, aka Mat
Nelson, as a personal endeavor in late 2000 and became a professional
one when he brought it to IBM, in the form of an AlphaWorks download, in
July 2001.
In the beginning of 2005, Robocode was brought to SourceForge as Open
Source with Robocode version 1.0.7. At this point, the development of
Robocode had somewhat stopped. In the meanwhile, the community around
Robocode began to develop their own versions of Robocode in order to get
rid of bugs and also to put new features into Robocode, the
Contributions for Open Source Robocode and later on the RobocodeNG
project by Flemming N. Larsen.
As nothing seemed to happen with Robocode in more than a year, Flemming
N. Larsen took over the Robocode project at SourceForge as administrator
and developer in July 2006. The RobocodeNG project was dropped, but the
Robocode 2006 variant, which contained a lot of contributions from the
Robocode community, was merged into the official Robocode with version
1.1. Since then, lots of new versions of Robocode have been released
with more and more features and contributions from the community.
Recently (from version 1.7.2.0), the .NET platform is supported through
a .NET plug-in provided by Pavel Savara based on
[jni4net](http://jni4net.sourceforge.net/), also developed by Pavel
Savara.
### 3. SYSTEM REQUIREMENTS
In order to run Robocode, Java 5.0 Standard Edition (SE) or a newer
version of Java must be installed on your system. Both the Java Runtime
Environment (JRE) and the Java Developer Kit (JDK) can be used. Note
that the JRE does not include the standard Java compiler (javac), but
the JDK does. However, Robocode comes with a built-in compiler (ECJ).
Hence, it is sufficient running Robocode on the JRE.
Also note that it is important that these environment variables have
been set up prior to running Robocode:
- `JAVA_HOME` must be setup to point at the home directory for Java
(JDK or JRE).
Windows example: `JAVA_HOME=C:\Program Files\Java\jdk1.5.0_22`
UNIX, Linux, Mac OS example: `JAVA_HOME=/usr/local/jdk1.5.0_22`
- `PATH` must include the path to the `bin` of the Java home
directory (`JAVA_HOME`) that includes `java.exe` for starting the
Java virtual Machine (JVM).
Windows example: `PATH=%PATH%;%JAVA_HOME%`
UNIX, Linux, Mac OS example: `PATH=${PATH}:${JAVA_HOME}/bin`
You can read more details from here:
- [System Requirements](http://robowiki.net/wiki/Robocode/System_Requirements)
If you want to program robots in .NET or control Robocode from a .NET
application, you need to install the Robocode .NET API plug-in on top of
Robocode. The plug-in is installed by double-clicking the
`robocode.dotnet-xxx-setup.jar` the same way as Robocode itself is
installed.
### 4. GETTING STARTED
Most documentation about Robocode is provided thru the
[RoboWiki](http://robowiki.net), which contains the official
documentation about Robocode, but which also hosts the community around
Robocode. It is highly recommended to read the articles on the RoboWiki
for getting started with Robocode. These articles are provided from
here:
- [Getting Started](http://robowiki.net/wiki/Robocode/Getting_Started)
You should read about the anatomy of a robot, the game physics, scoring
etc.
To learn more about developing robots for .NET, these articles are a
good starting point:
- [Create a .NET robot with Visual Studio](http://robowiki.net/wiki/Robocode/.NET/Create_a_.NET_robot_with_Visual_Studio)
- [Debug a .NET robot with Visual Studio](http://robowiki.net/wiki/Robocode/.NET/Debug_a_.NET_robot_in_Visual_Studio)
### 5. ROBOCODE API
The Robocode API is provided as HTML pages for both the Java and .NET
platform.
- [Java API](http://robocode.sourceforge.net/docs/robocode/)
- [.NET API](http://robocode.sourceforge.net/docs/robocode.dotnet/Index.html)
- [.NET Control API](http://robocode.sourceforge.net/docs/robocode.dotnet.control/Index.html)
The Robocode API actually consists of 3 different APIs.
- **Robot API**: Within the Java package `robocode` and .NET namespace
`Robocode`.
The Robot API is used for developing robots, and is the only part of
the API that robots are allowed to access.
- **Robot Interfaces**: Within the Java package
`robocode.robotinterfaces` and .NET namespace
`Robocode.RobotInterfaces`.
The Robot Interfaces are used for developing new robot types with a
different API that the standard Robot API.
***Note:** The game rules and robot behaviors cannot be changed.*
- **Control API**: Within the Java package `robocode.control` and .NET
namespace `Robocode.Control`.
The Control API is used for letting another application st
没有合适的资源?快使用搜索试试~ 我知道了~
基于java的开发源码-坦克机器人战斗仿真引擎 Robocode.zip
共1153个文件
java:585个
cs:252个
png:99个
0 下载量 50 浏览量
2024-03-11
20:28:28
上传
评论
收藏 2.8MB ZIP 举报
温馨提示
基于java的开发源码-坦克机器人战斗仿真引擎 Robocode.zip
资源推荐
资源详情
资源评论
收起资源包目录
基于java的开发源码-坦克机器人战斗仿真引擎 Robocode.zip (1153个子文件)
Introduction.aml 4KB
ant.bat 8KB
mvn.bat 6KB
meleerumble.bat 137B
roborumble.bat 136B
teamrumble.bat 136B
twinduel.bat 134B
robocode.bat 85B
robocode.bat 58B
sample.battle 341B
intro.battle 308B
robocode.cfg 6KB
Loader.class 2KB
loadTools.cmd 1KB
generateProxies.cmd 684B
mvnassembly.cmd 308B
jacobe.cmd 237B
loadTools.cmd 205B
mvnassembly.cmd 185B
mvnassembly.cmd 179B
test.cmd 166B
gennetkey.cmd 154B
mvn.cmd 141B
compile.cmd 121B
meleerumble.command 232B
roborumble.command 229B
teamrumble.command 229B
twinduel.command 225B
robocode.command 148B
m2.conf 95B
Content Layout.content 132B
AdvancedRobot.cs 89KB
IRobotRepositoryItem.generated.cs 75KB
RbSerializer.generated.cs 74KB
Robot.cs 66KB
ByteBuffer.cs 59KB
IRepositoryItem.generated.cs 57KB
RobocodeEngine.cs 51KB
JuniorRobot.cs 50KB
IRobotSnapshot.generated.cs 48KB
GraphicsProxy.cs 40KB
IScoreSnapshot.generated.cs 34KB
IAdvancedRobotPeer.cs 28KB
IBasicRobotPeer.cs 28KB
EventManager.cs 25KB
IBulletSnapshot.generated.cs 25KB
IBattleListener.generated.cs 25KB
HiddenAccess.generated.cs 24KB
IHostManager.generated.cs 23KB
BasicRobotProxy.cs 20KB
IRobotPeer.generated.cs 20KB
RobocodeEngine.generated.cs 19KB
Buffer.cs 18KB
RobotType.generated.cs 18KB
ITurnSnapshot.generated.cs 16KB
ExecCommands.cs 16KB
RbSerializerN.cs 16KB
RobotStatus.cs 15KB
CILReader.cs 15KB
RateControlRobot.cs 15KB
BulletState.generated.cs 13KB
IHost.generated.cs 12KB
IStandardRobotPeer.cs 12KB
RobotState.generated.cs 12KB
Keys.cs 12KB
HeapByteBuffer.cs 12KB
ISerializableHelper.generated.cs 11KB
Logger.generated.cs 11KB
DotnetHost.generated.cs 11KB
IBasicEvents.cs 11KB
BattleSpecification.generated.cs 11KB
RobotStatics.cs 10KB
Event.cs 10KB
IRobocodeEngine.cs 10KB
IVersionManagerBase.generated.cs 10KB
HostingRobotProxy.cs 10KB
IHostingRobotProxy.generated.cs 10KB
RobotSpecification.generated.cs 9KB
IGraphics.cs 9KB
IRobotStatics.generated.cs 9KB
Rules.cs 9KB
Random.generated.cs 9KB
IInteractiveEvents.cs 8KB
IRobotSnapshot.cs 8KB
Interactive.cs 8KB
ExecResults.cs 8KB
BattleResults.cs 8KB
Utils.cs 8KB
Bullet.cs 7KB
ScannedRobotEvent.cs 7KB
Reflection.cs 7KB
DllRootHelper.generated.cs 7KB
BadBehavior.generated.cs 7KB
RobotResults.generated.cs 6KB
IDebugProperty.generated.cs 6KB
AppDomainShell.cs 6KB
HostingSeed.cs 6KB
TeamRobot.cs 6KB
AppDomainSeed.cs 6KB
AdvancedRobotProxy.cs 6KB
共 1153 条
- 1
- 2
- 3
- 4
- 5
- 6
- 12
资源评论
易小侠
- 粉丝: 6449
- 资源: 9万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 上市公司-人工智能的采纳程度面板数据(2003-2021年).xlsx
- 第5章spring-mvc请求映射处理
- 2023-04-06-项目笔记 - 第一百十六阶段 - 4.4.2.114全局变量的作用域-114 -2024.04.27
- app-release.apk.1
- soap json 等系列化方式
- c++的五子棋代码,在vs6.0上完美运行
- 基于Javaee的影视创作论坛的设计与实现.rar
- Python导出Mysql数据字典(部分表或全表)
- Java工具类实现输入一个路径,强创建路径、并且鉴权目标路径是否具备修改权限,用于增强程序的健壮性与稳定性,快速开发!
- 资源【STM32+HAL】三轴按键PS2摇杆
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功