As promised, here is the RARS code without the GUI, and 3D
stuff. It compiles on Windows and Linux machines. Make sure
you preserve the directory structure when decompressing the
Download RARSnogui.zip (125KB)
robots.zip (182KB Updated Nov 14, 2004)
This file contains source code for the following robots:
- K++, KppMate
- Mafanja, Mafanja2
- SmoothB4 (updated data file)
The rest of the robots were taken from the RARS distribution.
Class 1 Robots
Class 2 Robots
||Nov 14, 2004||25 Laps
||Nov 7, 2004||24 Laps
||Oct 31, 2004||30 Laps
||Oct 24, 2004||40 Laps
||Oct 17, 2004||21 Laps
||Oct 10, 2004||31 Laps
||Oct 3, 2004||19 Laps
||Sep 26, 2004||28 Laps
||Sep 19, 2004||28 Laps
||Sep 12, 2004||34 Laps
||Sep 5, 2004||36 Laps
||Aug 29, 2004||24 Laps
||Aug 22, 2004||29 Laps
||Aug 15, 2004||30 Laps
||Aug 8, 2004||23 Laps
||Aug 1, 2004||24 Laps
- Use portable ANSI C/C++ code, that will work with ANY
version of RARS (create a sub-class of Driver, or use the
old driver function).
- If your robot causes a problem with RARS, then it will be
excluded from the race.
- There is no restriction on the processing power, or memory
used by the robots YET! Please be reasonable in this
area, because if RARS is running at 1fps, then I will
consider it a 'problem'.
- Submit as many robots as you like. You can have 1 robot
drive more than 1 car.
- Ideally, all robots should be made public (so everyone can
replay the races). However, you can request that your code
be kept confidential.
- They will be short, approx 0.5hrs, races.
- The MAX_FUEL value will be enough to finish the race.
- Initially, a surface of 1 will be used. However, I want to
make this value random (if all the robots can handle it,
then it will be).
- A qualifying race, with random starting order, will be run
to determine the starting order for the race. The final
order of that race will be inverted (winning robot will
start last). If a robot does not complete the qualifying
race, then it will start behind all robots that did.
- Each race will have 22, or more robots (depending on the
- Currently the tracks being used are randomly generated
tracks with a length between 1 and 2miles. However,
anyone can submit/recommend a track for use.
- The track will be posted here a week before it is used
for a race.
- The results will be posted on the Monday, or Tuesday
following the race.
- The races will take place each Sunday. I will check my
mail before the race, so if your robot is there, then it
WHAT TO SUBMIT
- Compress the source file (.c, .cpp, .cc), and data file
(if needed) into any of the following formats:
- Attatch the compressed file to an email, and send it to:
- If possible, try not to send your code in the body of the
- When sending your robot, let me know if it is ok to allow
the other competitors to have a copy.