Solve violence, then solve anything else with violence.
bagarreio is a library that provides carefully designed environments to train and compare humanoid AI agents on the challenging task of 1v1 close combat.
- gym
- mujoco
Simply run :
pip install .
Two 17-dof simulated humanoids must rekt each other according to the following principles :
- Like in chess, each agent has access to the whole scene state
- Agents can strike any body part of the opponent but only with hands and feet.
- "Hit-points" are distributed depending on 1) striked opponent body part : head typically gives the highest score while hands gives the lowest and 2) contact force measured during impact. The agent with the most hit-points at the end of the episode wins the match.
- Standing up is not enforced
- Note that we may add or modify rules progressively to avoid boring solutions or simulation exploits
We provide a self-trained agent as baseline.
Method | Author | snapshot |
---|---|---|
SAC self-play w/ guidance loss | Rodrigue Siry |
Simulate stamina / muscular fatigue