| Crates.io | bevy_rl_shooter |
| lib.rs | bevy_rl_shooter |
| version | 0.1.2 |
| created_at | 2023-01-05 18:23:28.497452+00 |
| updated_at | 2023-01-05 18:23:28.497452+00 |
| description | 👾Multi-Agent 🎮 FPS Gym Environment with 🏋️ bevy_rl |
| homepage | |
| repository | https://github.com/stillonearth/bevy_rl_shooter |
| max_upload_size | |
| id | 751725 |
| size | 471,505 |
This is a basic multi-agent gym environment for bevy_rl. It is a deathmatch free-for-all environment where agents spawn as red spheres and get +10 reward on kill. The environment is implemented in Rust using bevy game engine and bevy_rl plugin.
It implements very basics of a multi-agent environment. It is a good starting point for creating more complex environments.
You can wrap the environment with a python wrapper and use it with OpenAI Gym interface. (example in python/bevy_rl_rest_api.ipynb)
cargo build +nightly --release;./target/release/bevy_rl_shooter --mode trainpython/env.py implements a python wrapper for an environmentpython/bevy_rl_rest_api.ipynb illustrates how to use the wrapper