Cross Language Soccer Framework: An Open Source Framework for the RoboCup 2D Soccer Simulation
Nader Zare, Aref Sayareh, Alireza Sadraii, Arad Firouzkouhi, Amilcar Soares
TL;DR
The paper addresses the bottleneck of integrating modern ML workflows with high-performance RoboCup Soccer Simulation 2D (SS2D) base codes by introducing a gRPC-based Cross Language Soccer Framework. It pairs a Soccer Simulation Proxy, based on a modified Helios, with a language-agnostic Playmaker Server to enable multi-language clients (e.g., C#, Python, JavaScript) while preserving real-time performance. Key contributions include Protocol Buffer definitions, a defined Game service with multiple RPCs, and sample multi-language server implementations, plus deployment aids (AppImages, Docker, Gym-like environments) to ease adoption and competition readiness. The framework promises to enhance collaboration and accelerate research in multi-agent soccer by decoupling high-performance core logic from language-specific decision-making and tooling, thereby expanding accessibility without sacrificing efficiency.
Abstract
RoboCup Soccer Simulation 2D (SS2D) research is hampered by the complexity of existing Cpp-based codes like Helios, Cyrus, and Gliders, which also suffer from limited integration with modern machine learning frameworks. This development paper introduces a transformative solution a gRPC-based, language-agnostic framework that seamlessly integrates with the high-performance Helios base code. This approach not only facilitates the use of diverse programming languages including CSharp, JavaScript, and Python but also maintains the computational efficiency critical for real time decision making in SS2D. By breaking down language barriers, our framework significantly enhances collaborative potential and flexibility, empowering researchers to innovate without the overhead of mastering or developing extensive base codes. We invite the global research community to leverage and contribute to the Cross Language Soccer (CLS) framework, which is openly available under the MIT License, to drive forward the capabilities of multi-agent systems in soccer simulations.
