Discussion:
Installing Roborumble server (not client)
pjpjpjpj
2009-07-30 20:49:51 UTC
Permalink
[I am following fnl's suggestion to repost the following from the SourceForge forum to this group]

Greetings, all,

I am a software engineering professor at the University of Hawaii. For the past several years, I have used Eclipse-based games (CodeRuler, etc.) at the start of the semester to introduce my students to Eclipse and basic software engineering principles. This year, I have decided to switch to Robocode. I've spent the past week reading the documentation, installing the system, and programming some simple robots. I am very, very impressed with the system and feel that Robocode is an excellent example of what an open source community can accomplish. Bravo!

In thinking through the assignments, I think it would be very useful if I could provide a means for the students to submit their robots to an automated system that would (a) run each student robot against several of the sample robots (1v1 match) and (b) run each student robot against each of the other student robots, also 1v1. After some period of doing that, then I would have a more traditional tournament. The automated system would make it easy for me to assign the task of creating a robot that could beat both SittingDuck and SpinBot (for example), and know exactly when the entire class accomplished that task. Having their robots compete against each other provides some fun and extra incentive.

To me, this sounds like something the roborumble system should be easily adapted to accomplish. I have played around with this system and the basic problem I have run into is that the instructions are designed around "client mode"--i.e. run the system locally on a large number of published robots and upload the results to darkcanuck's server.

What I am looking for is advice on how to run roborumble in "server mode". I basically want to:

(a) restrict the set of robots to just the samples plus my students.
(b) run 1v1 across all of the robots in (a)
(c) do not attempt to upload results to darkcanuck
(d) create simple HTML pages displaying the resulting standings.

In my initial attempts at adapting roborumble to this task, I have found that if I run the system according to the documentation, it works, but downloads a large number of external robots. If I turn off downloads, it complains that files (for example, the particip1v1.txt and the standings files) are missing. I also don't see any code or XSL for taking the resulting text files and converting to HTML; is that available anywhere or do I have to write my own?

Thanks very much for any guidance you can provide. If I can get this together, I will definitely post a link to the results so you can see what my class is doing. Perhaps I can get some of them interested enough to become a long term member of your community.

Philip Johnson



------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/Robocode/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/Robocode/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:Robocode-***@yahoogroups.com
mailto:Robocode-***@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
Robocode-***@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
nat3738
2009-07-31 03:00:04 UTC
Permalink
Thank you for interested in Robocode.

The easiest way to do that all is to install the private RoboRumble server, which Darkcanuck have his source at :
http://darkcanuck.net/svn/rumbleserver/trunk/

Then you can change the UPLOADURL/PARTICIPANTURL in roborumble.txt to your own one.

To create your own participant url, just create any webpage which include <pre> tag in this format.

<pre>
sample.SittingDuck 1.0,???
</pre>

You must package all sample bots and any bot you want to use and put it in /robots directory of the client. If client already has that robot, it will not be downloaded again.

To install the RoboRumble server, I'm not sure which PHP version he used, but PHP5.2 run fine. And Apache server with mod_rewrite and .htaccess enabled.

The SQL file for database can be found in the /schema. You must rename config.php-sample in /config to config.php and change the settings.

That's all. It will work. I think it isn't problem if each students' robot fight each other. It can make competition on who can get the first spot on the ranking table.
Post by pjpjpjpj
[I am following fnl's suggestion to repost the following from the SourceForge forum to this group]
Greetings, all,
I am a software engineering professor at the University of Hawaii. For the past several years, I have used Eclipse-based games (CodeRuler, etc.) at the start of the semester to introduce my students to Eclipse and basic software engineering principles. This year, I have decided to switch to Robocode. I've spent the past week reading the documentation, installing the system, and programming some simple robots. I am very, very impressed with the system and feel that Robocode is an excellent example of what an open source community can accomplish. Bravo!
In thinking through the assignments, I think it would be very useful if I could provide a means for the students to submit their robots to an automated system that would (a) run each student robot against several of the sample robots (1v1 match) and (b) run each student robot against each of the other student robots, also 1v1. After some period of doing that, then I would have a more traditional tournament. The automated system would make it easy for me to assign the task of creating a robot that could beat both SittingDuck and SpinBot (for example), and know exactly when the entire class accomplished that task. Having their robots compete against each other provides some fun and extra incentive.
To me, this sounds like something the roborumble system should be easily adapted to accomplish. I have played around with this system and the basic problem I have run into is that the instructions are designed around "client mode"--i.e. run the system locally on a large number of published robots and upload the results to darkcanuck's server.
(a) restrict the set of robots to just the samples plus my students.
(b) run 1v1 across all of the robots in (a)
(c) do not attempt to upload results to darkcanuck
(d) create simple HTML pages displaying the resulting standings.
In my initial attempts at adapting roborumble to this task, I have found that if I run the system according to the documentation, it works, but downloads a large number of external robots. If I turn off downloads, it complains that files (for example, the particip1v1.txt and the standings files) are missing. I also don't see any code or XSL for taking the resulting text files and converting to HTML; is that available anywhere or do I have to write my own?
Thanks very much for any guidance you can provide. If I can get this together, I will definitely post a link to the results so you can see what my class is doing. Perhaps I can get some of them interested enough to become a long term member of your community.
Philip Johnson
------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/Robocode/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/Robocode/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:Robocode-***@yahoogroups.com
mailto:Robocode-***@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
Robocode-***@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/

Loading...