Build the best - destroy the rest!

Thursday, 28 July 2011

Robocode 1.7.3.1

Robocode version 1.7.3.1 has now been released, which is a maintenance release compared to version 1.7.3.0.

Bugfixes


  • Bug [3312341] - Hide enemy name implementation bug.

  • Bug [3312402] - Bullet.equals semantic has been changed in 1.7.3.0 version.

  • Bug [3317837] - setColor(null) causes NPE.

  • Bug [3355603] - Rumble sh scripts for launching do not handle spaces in path.

  • Bug [3350136] - Teamrumble priority battles bug.

  • Bug [3370431] - ConcurrentModificationException in URLJarCollector.

  • Bug [3375882] - Robot in development generates * into filename.

  • Bug [3376501] - Interface Robot skips turns at end of round.

  • BulletHitEvent.getBullet().getVictim() always returned null.


New features


  • Req [3360953] - Twin Duel configuration files for the RoboRumble client are now included.


Changes


  • The Robot Editor is now saving and loading source files in UTF-8 (Unicode).

  • Upgraded to use jni4net v0.8.4.


Download Robocode 1.7.3.1 from here
Download Robocode .NET plug-in 1.7.3.1 from here
Download Robot testing plug-in 1.7.3.1 from here

Friday, 20 May 2011

Robocode 1.7.3.0 (final)

Robocode version 1.7.3.0 (final) has now been released, with a few fixes compared to the beta version.

You can read about the previous bugfixes and changes made for the beta version here:

Bugfix


  • Bug [3293679] - getTurnRateRadians incorrect for negative velocity.

  • Fixed issues with unit-testing and building Robocode on Linux.


Download Robocode 1.7.3.0 (final) from here
Download Robocode .NET plug-in 1.7.3.0 from here
Download Robot testing plug-in 1.7.3.0 from here

Saturday, 26 March 2011

Robocode 1.7.3.0 Beta

This is the beta version of Robocode version 1.7.3.0.

We encourage everybody to test this new Beta version as much as possible and report any bugs found at our Bugs Tracker at SourceForge. Then we will do everything we can to fix issues before the final release.

In the following we list the bugfixes, new features, and other changes made with the 1.7.3.0 Beta version.

Bugfixes


  • Bug [2832113] - The gun shot sound isn't working.

  • Bug [3196615] - x,y coords between BulletHitEvent & HitByBulletEvent differ.

  • Bug [3207405] - Custom events no longer firing after clearing event queue.

  • Fixed typo in the documentation with valid range of values for the battlefield width and height. Thanks goes to Tamás Balog for pointing this out.


New features


  • Added "Enable auto recording" option to the Common Options, which automatically generates a zipped XML record for every battle. Works only when "Enable replay recording" is enabled (is automatically set when enabling auto recording).

  • Req [3026852] - Ability to save the properties file for robots in development path.

  • Req [3066647] - Rules.getBulletSpeed(). Keep bullet power within 0.1 - 3.0, even when input is lesser or greater than this valid range.

  • Req [3034594] - In battle name hiding. A new game rule, "hide enemy names", can be enabled or disabled.


Changes


  • Upgraded to use jni4net v0.8.3.


Download Robocode 1.7.3.0 Beta from here
Download Robocode .NET Plugin 1.7.3.0 Beta from here
Download Robot Testing Plug-in 1.7.3.0 Beta from here

Friday, 28 January 2011

Capture the Flag

Banaras Hindu University presents CodeFest - virtual combat event. Himanshu Singh used experimental branch of Robocode by Joshua Galecki, polished it a bit and packaged for the tournament.

To arms! Join the battle!

Friday, 5 November 2010

Robocode 1.7.2.2 (final)

Robocode version 1.7.2.2 (final) has now been released, which only contains an issue with the Robot API documentation.

You can read about the previous bugfixes and changes made for the beta version here:

Bugfix


  • Fixed "3 * PI / 4 means West." in the Robot API, which should be "3 * PI / 2 means West.". Thanks goes to Gottl Johannes for pointing this out.


Download Robocode 1.7.2.2 (final) from here
Download Robocode .NET plug-in 1.7.2.2 from here
Download Robot testing plug-in 1.7.2.2 from here

Saturday, 2 October 2010

Robocode 1.7.2.2 Beta

This is the beta version of Robocode version 1.7.2.2 that now includes a Robocode Control API with the .NET plug-in, which makes it possible to run battles from a .NET application and retrieve the results etc. Help files are included with Robocode, and the documentation of the new API is available here.

Robocode has also been upgraded to use jni4net v0.8.0 that includes CLR 4.0 support for .NET. This means that robots can be written in e.g. the F# language. Actually, the .NET plugin includes sample robot written in F#.

A ReadMe has also been added for Robocode in both HTML and text (using Markdown syntax). The ReadMe should give the reader a good overview of Robocode.

We encourage everybody to test this new Beta version as much as possible and report any bugs found at our Bugs Tracker at SourceForge. Then we will do everything we can to fix issues before the final release of version 1.7.2.2.

In the following we list the bugfixes, new features, and other changes made with the 1.7.2.2 Beta version.

Bugfixes


  • Bug [3043944] - Robot PrintStream doesn't handle write in a portable fashion.

  • Bug [3077562] - Wrong headings with the JuniorRobot. Thanks goes to Mr. Kschan for finding and providing a fix for this bug. :-)

  • Bug [3043884] - Development Options remove wrong item.

  • Bug [3043932] - JavaDoc missing _Robot and similar.


New Sample robots


  • Tuan Anh Nguyen provided a modified version of the Interactive sample robot named Interactive_v2, which use absolute movement (up, left, down, right) on the screen, which can be easier to control than the original Interactive sample robot. Both Interactive robots now use both the arrow keys and the W, A, S, D key for moving the robot.

  • SampleFs (written for .NET with the #F langugage) has been added along with the Visual Studio 2010 project file for it. This is available with the .NET plug-in.


New features


  • Robocode has been upgraded to use jni4net v0.8 with CLR 4.0 support.

  • Implemented Robocode .NET Control API plug-in (robocode.control.dll) with documentation.

  • Req [2932291] - Added ReadMe.txt (using Markdown syntax) and ReadMe.html. The ReadMe is also available from the Help menu.

  • Req [2973605] - Enable/disable development paths.

  • Req [2974806] - Provide JuniorRobot template for inexperienced users.


Changes


  • It is not necessary to specify -Dsun.io.useCanonCaches=false anymore with the startup scripts for Robocode and RoboRumble as Robocode sets this internally when running under Windows. Hence, this property has been removed from all .bat, .sh, and .command files for Robocode.

  • Robocode will not notify about Beta versions anymore per default. However, a new option in the Common Options (under Preferences) makes it possible to enable/disable notifications about new Beta versions.

  • The tabs for the Common and Development Options in the Preferences window are now the first tabs.


Download Robocode 1.7.2.2 Beta from here
Download Robocode .NET plugin 1.7.2.2 Beta from here

Thursday, 5 August 2010

Robocode 1.7.2.1 (final)

Robocode version 1.7.2.1 (final) has now been released, which contains lots of bug fixes compared to the beta, but also a few changes.

You can read about the previous bugfixes and changes made for the beta version here:

In the following, the new bugfixes and changes made since the beta version are listed.

Bugfixes


  • Bug [3021140] - Possible for robot to kill other robot threads.

  • Bug [3029344] - Zipped robots data files are not extracted.

  • Bug [3026855] - Robot Packager doesn't package source file in Eclipse proj.

  • Bug [2828479] - Missed onRobotDeath events. Thanks goes to ForNeVeR for finding and solving this bug.

  • Bug [3019854] - Cannot see robot with no package in New Battle dialog.

  • Bug [3026856] - Robot Packaging Wizard doesn't save value for Next & Back.

  • Bug [3028102] - ClassNotFoundException at RobotClassLoader.java:271.

  • Bug [3032423] - "skipped" turns at start with -Ddebug=true

  • Bug [3032843] - Exclude filters not working.

  • Sometimes the compiler window was hanging for several seconds, even though the compiler had finished compiling.


Changes


  • The Robot Packing Wizard will now only allow word characters (letters, digits, dots, but no spaces) with the version field.

  • Added robocode.annotation.SafeStatic, which can be used to suppress warnings in the robot console for a robot uses static reference to a robot on a field. Note that this means that you need to clean the static field, when a new round is started. This annotation was suggested by Nat Pavasant. The annotation is used like this:


  • @SafeStatic
    private static AdvancedRobot robot;

  • Added syntax highlightning on Java annotations for the Robot Editor.


Download Robocode 1.7.2.1 (final) from here
Download Robocode .NET plug-in 1.7.2.1 from here
Download Robot testing plug-in 1.7.2.1 from here