-
- Downloads
Refactor counter setup and update various classes
The `overcooked_environment.py` file has been significantly refactored to streamline handling of counter setup. Post counter setup responsibilities have been shifted to the `CounterFactory` class. A utility function, `get_closest`, has been introduced in `utils.py` to determine the closest counter and is used in multiple classes. Minor updates are also made across several other classes for optimization and clarity. The 'other' score in `environment_config.yaml` has been changed from 0 to 20.
parent
8e8075b4
No related branches found
No related tags found
Showing
- overcooked_simulator/__init__.py 1 addition, 1 deletionovercooked_simulator/__init__.py
- overcooked_simulator/counter_factory.py 47 additions, 4 deletionsovercooked_simulator/counter_factory.py
- overcooked_simulator/counters.py 1 addition, 1 deletionovercooked_simulator/counters.py
- overcooked_simulator/game_content/environment_config.yaml 1 addition, 1 deletionovercooked_simulator/game_content/environment_config.yaml
- overcooked_simulator/overcooked_environment.py 5 additions, 66 deletionsovercooked_simulator/overcooked_environment.py
- overcooked_simulator/player.py 1 addition, 1 deletionovercooked_simulator/player.py
- overcooked_simulator/utils.py 20 additions, 0 deletionsovercooked_simulator/utils.py
Loading
Please register or sign in to comment