-
- Downloads
Refactor simulator environment and add counter factory
This commit simplifies the overcooked environment by refactoring the way counters are created and managed. A new CounterFactory class is introduced, offloading logic from the environment class. In addition, the symbol to character mapping and other environment-related configurations are moved to a separate YAML file. The .gitignore file is also updated to ignore the 'playground' directory. Making these changes enhances code maintainability and readability.
parent
eff27363
No related branches found
No related tags found
Showing
- .gitignore 2 additions, 0 deletions.gitignore
- overcooked_simulator/counter_factory.py 173 additions, 0 deletionsovercooked_simulator/counter_factory.py
- overcooked_simulator/counters.py 9 additions, 5 deletionsovercooked_simulator/counters.py
- overcooked_simulator/game_content/environment_config.yaml 25 additions, 0 deletionsovercooked_simulator/game_content/environment_config.yaml
- overcooked_simulator/game_server.py 6 additions, 1 deletionovercooked_simulator/game_server.py
- overcooked_simulator/overcooked_environment.py 36 additions, 149 deletionsovercooked_simulator/overcooked_environment.py
Loading
Please register or sign in to comment