[Paper Review] Simulated Car Racing Championship: Competition Software Manual
This paper presents a client-server architecture for the Simulated Car Racing Championship, extending the TORCS racing simulator to enable real-time, language-agnostic, and fair competition among AI controllers. By decoupling bots from the simulation via UDP-based communication and abstracting sensors/actuators, it ensures consistent information access and supports diverse programming languages, enabling standardized benchmarking in evolutionary computation and computational intelligence research.
This manual describes the competition software for the Simulated Car Racing Championship, an international competition held at major conferences in the field of Evolutionary Computation and in the field of Computational Intelligence and Games. It provides an overview of the architecture, the instructions to install the software and to run the simple drivers provided in the package, the description of the sensors and the actuators.
Motivation & Objective
- To enable fair and standardized benchmarking of AI controllers in simulated racing environments by eliminating information asymmetry among competing agents.
- To overcome limitations of the original TORCS architecture, such as blocking execution and unrestricted data access, by introducing a client-server model with time constraints.
- To support multiple programming languages for controller development by decoupling the bot logic from the simulation engine.
- To ensure real-time synchronization between AI decisions and simulation steps through a 10ms timeout per game tick (20ms simulated time).
- To provide a reproducible, extensible, and accessible framework for competitions in evolutionary computation and computational intelligence.
Proposed method
- The system extends TORCS into a client-server architecture where the race server (scr_server) manages simulation state and communicates with external client bots via UDP.
- Each client bot runs as an independent process, receiving sensor data and sending actions over UDP, with a 10ms real-time timeout per game tick to maintain synchronization.
- A sensor and actuator abstraction layer is implemented to standardize input and output, restricting bots to only the information explicitly defined by the competition rules.
- The architecture ensures that all controllers operate under identical information constraints, preventing unfair advantages from reverse-engineering track or opponent data.
- The system supports text-mode operation and customizable race configurations via XML files, enabling batch experiments without GUI overhead.
- Features like fuel, damage, and laptime limits can be disabled via command-line flags to allow long-duration experiments without premature termination.
Experimental results
Research questions
- RQ1How can a simulated racing competition ensure fair evaluation of AI controllers when they may otherwise access different levels of information?
- RQ2What architectural changes are required to enable real-time, multi-language AI controllers in a physics-based racing simulator?
- RQ3How can the simulation be decoupled from the controller logic to support diverse programming languages and prevent performance bottlenecks?
- RQ4What mechanisms are needed to maintain synchronization between AI decision-making and simulation timing in a real-time environment?
- RQ5How can the system be configured to support long-duration, automated experiments without GUI interference or premature termination?
Key findings
- The client-server architecture successfully decouples AI controllers from the simulation engine, enabling real-time operation with a 10ms timeout per game tick (20ms simulated time).
- The abstraction of sensors and actuators ensures that all controllers receive identical, restricted information, eliminating information asymmetry and enabling fair comparison.
- The system supports multiple programming languages for controller development, as bots run as external processes independent of the C++-based TORCS core.
- Disabling fuel, damage, and laptime limits via command-line flags allows for stable, long-duration experiments without simulation interruption.
- Text-mode operation via the -r flag enables automated, batch-mode execution of races using pre-configured XML race files.
- Noisy range finders can be enabled with the -noisy flag, aligning the simulation with competition conditions that include sensor uncertainty.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.