Skip to content
Snippets Groups Projects
  1. Aug 20, 2024
    • Florian Schröder's avatar
      Refactor gym_env and drawing for environment-specific caching · 3bf75834
      Florian Schröder authored
      Updated `gym_env.py` and `drawing.py` to use unique environment names (`env_name`) for caching purposes, leveraging UUIDs for better cache management. Revised render and image fetch methods to incorporate the unique environment identifier, ensuring accurate and efficient cache invalidation and retrieval.
      3bf75834
    • Florian Schröder's avatar
      Refactor visualizer caching and grid size logic · f0f3eb38
      Florian Schröder authored
      Enhanced visualizer by adding cache flags for background and counters and a reduced background mode for optimization. Adjusted relevant methods across video replay, performance benchmark, gym environment, and GUI code to use the new caching logic.
      f0f3eb38
  2. Aug 19, 2024
  3. Mar 20, 2024
  4. Mar 09, 2024
    • Florian Schröder's avatar
      Add and optimize type hints, refactor functions, improve readability · 0ddb9e04
      Florian Schröder authored
      Various changes have been made in the codebase to improve readability and maintainability. Type hints have been added to the functions and variables for better understanding of the datatypes. Refactoring of some code segments has also been done to make the code more concise and readable. The 'EffectType', 'ItemType' enumerations have been enriched with docstrings for better understanding of the enums. Certain classes have been updated to better follow the single responsibility principle.
      0ddb9e04
  5. Mar 08, 2024
  6. Mar 05, 2024
    • Florian Schröder's avatar
      Update PUT action to PICK_UP_DROP · 7c31d0ac
      Florian Schröder authored
      The ActionType.PUT has been replaced with ActionType.PICK_UP_DROP across all instances in the codebase. This change aligns the action name with its actual function, making the action more intuitive and the code easier to understand. This update also includes minor modifications in comments and function arguments to reflect the new action name.
      7c31d0ac
  7. Feb 29, 2024
    • Florian Schröder's avatar
      Rename module 'game_items' to 'items' · e65743a5
      Florian Schröder authored
      The module 'game_items' was renamed to 'items'. Every reference to this module across different source code files was consequently updated to reflect this change.
      e65743a5
    • Florian Schröder's avatar
      Refactor Action classes into separate file · 49231a76
      Florian Schröder authored
      Action, ActionType, and InterActionData classes have been moved from the environment module into a separate file named action.py. All imports have been adjusted to reflect this change. This provides a clearer structure and improves modularity in the code, as all action related classes and enums are now organized in a single module.
      49231a76
    • Florian Schröder's avatar
      Add Movement class for handling player and counter interactions · ef72806c
      Florian Schröder authored
      This commit introduces a new Movement class which handles player movements, collisions, and interactions with counters in the 'cooperative_cuisine' environment. The commit also includes necessary changes to related configurations and adjustments in the 'environment.py' and 'player.py' files to accommodate the introduction of this new class. This encapsulation enhances readability, promotes code organization, and adheres to the principle of Single Responsibility.
      ef72806c
  8. Feb 28, 2024
    • Florian Schröder's avatar
      Rename "gui_2d_vis" directory to "pygame_2d_vis" and update paths · e8402865
      Florian Schröder authored
      The "gui_2d_vis" directory has been renamed to "pygame_2d_vis". All references to "gui_2d_vis" in imports and file paths throughout the code have been updated to the new name. The renaming is clearer about the visualization library used and aligns with project conventions for directory naming.
      e8402865
    • Florian Schröder's avatar
      Rename project from overcooked_simulator to cooperative_cuisine · 242c9860
      Florian Schröder authored
      All instances of 'overcooked_simulator' have been replaced with 'cooperative_cuisine'. This includes changes in file paths, imports, and script names. The necessary adjustments to reflect this rename have also been made in the documentation, setup files, test scripts, and CI/CD configuration.
      242c9860
  9. Feb 15, 2024
  10. Feb 14, 2024
Loading