Marble Soccer Simulation is a C-based project developed during a hackathon. The simulation models the movement and interaction of marbles in a 2D space, simulating a competitive game of soccer played by marbles.
It was developed with the intention of being used as a training environment for reinforcement learning agents.
- High-speed Simulation: Run the simulation without rendering for faster performance, ideal for training agents.
- Optional Rendering: Use the
--render
flag to visualize the simulation. - Reinforcement Learning Integration: Designed with agent training in mind, enabling the use of machine learning algorithms to optimize game strategy.
- SDL Library: Make sure to install the SDL2 library before building the project.
- C Compiler: Compatible with most modern C compilers.
-
Build the project:
make
-
Run the simulation:
./app --render