Farama-Foundation / MicroRTS-Py

A simple and highly efficient RTS-game-inspired environment for reinforcement learning (formerly Gym-MicroRTS)
MIT License
234 stars 45 forks source link

Introduce efficient valid action sampling in `hello_world.py` #71

Closed vwxyzjn closed 2 years ago

vwxyzjn commented 2 years ago

This PR removes the painfully slow NumPy sampling in the hello_world.py. The resulting hello_world.py is at least 10x faster...