Skip to content
Snippets Groups Projects
  • Florian Schröder's avatar
    3606ecfd
    Refactor simulator environment and add counter factory · 3606ecfd
    Florian Schröder authored
    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.
    3606ecfd
    History
    Refactor simulator environment and add counter factory
    Florian Schröder authored
    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.