I built an open-source 3D soccer game for Reinforcement Learning experiments

I built an open-source 3D soccer game for Reinforcement Learning experiments

https://preview.redd.it/2wxhkzftz0cg1.png?width=2558&format=png&auto=webp&s=8b0be30b0534dde5687b9f958eef97d25f015377

I wanted to get into reinforcement learning but couldn’t find a game environment that clicked with me. Inspired by AI Warehouse videos, I decided to build my own.

Cube Soccer 3D is a minimalist soccer game where cube players with googly eyes compete to score goals. It’s designed specifically as an RL training environment.

Tech stack:

– Rust + Bevy (game engine)

– Rapier3D (physics)

– Modular architecture for easy RL integration

– Gymnasium-compatible Python bindings

Features:

– Realistic physics (collisions, friction, bouncing)

– Customizable observations and rewards

– Human vs Human, Human vs AI, or AI vs AI modes

– Works with Stable-Baselines3, RLlib, etc.

I’m releasing it open source in case anyone else is looking for a fun environment to train RL agents.

GitHub: https://github.com/Aijo24/Cube-soccer-3D

Feedback and contributions welcome!

submitted by /u/MineInternational495
[link] [comments]

Liked Liked