Prerequisites
- make sure you have .NET framework >= 2.0 installed on your windows box
- backup your robocode home
Install and start
- Download robocode-1.7.3.0-setup.jar and robocode.dotnet-1.7.3.0-setup.jar
- run robocode-1.7.3.0-setup.jar
- run robocode.dotnet-1.7.3.0-setup.jar
- start robocode.bat
- start new battle with samplecs.MyCsTeam and samplecs.PaintingRobot
- open samplecs.PaintingRobot dialog and enable painting
Optional
- start your Visual Studio
- open robots/samplescs/samplescs.csproj
- or create project new and reference robocode.dll from libs\ (Robot API for .NET)
- and code your own .NET robot :-D
Known gaps
- Robot API xml documentation is not yet ready
- IGraphics/onPaint have just simple operations implemented
- Robot could create unlimited threads, (but could not cause any harm to your computer)
- jni4net 0.6 was not released public yet
- Few unit tests still fail
These binaries above are 1.7.3, but that was just working number. We will merge it to trunk and release as 1.7.2 probably. Sources are in trunk already.
Enjoy!
3 comments:
Will it work with Mono on Linux?
Sometimes in the future. Technical component to allow it is http://jni4net.sf.net/
jni4net doesn't support Mono and unixes yet. But there is no major problem with that. Keen to contribute that into jni4net ? Let me know :-)
Well, it is a problem for me :P
And since I dont know how to do that coding-and-contrubiting part, it's even bigger problem.
Post a Comment