Skip to content
Snippets Groups Projects
  1. Mar 25, 2024
    • Florian Schröder's avatar
      Add 'game_ended_step' to config files · ed8a0ad8
      Florian Schröder authored
      The 'game_ended_step' has been added to both 'environment_config_no_validation.yaml' and 'environment_config.yaml' files. This state will trigger at the end of each game, and now it'll be recognized by the system.
      ed8a0ad8
    • Florian Schröder's avatar
      Add additional state update hook and functionality · 9e993a13
      Florian Schröder authored
      The code now contains a new hook named "additional_state_update" and accommodates accepting additional state content. This functionality is used to better manage player readiness states in the game_server module and includes updates to the get_state and get_json_state methods in the environment module. New changes also impact the environment configuration files.
      9e993a13
  2. Mar 18, 2024
  3. Mar 13, 2024
    • Florian Schröder's avatar
      Update methods and hooks in cooperative_cuisine · 4aecc23e
      Florian Schröder authored
      The main changes include enhancing methods in cooperative_cuisine/hooks.py, cooperative_cuisine/counters.py, and cooperative_cuisine/environment.py, and updating hooks. These changes greatly improve the handling of hooks and calls, provide explicit arguments for actions, and add more comprehensive documentation. This leads to better logging and debugging, higher code readability, and improved overall code structure in the cooperative_cuisine backend.
      4aecc23e
    • Fabian Heinrich's avatar
      3fc8e4e2
  4. Mar 10, 2024
    • Florian Schröder's avatar
      Remove level specific config and item info files · 080bf359
      Florian Schröder authored
      This commit removes the level specific configuration and item information files for 'level1' and 'level2' under the cooperative_cuisine project. Changes have been made to consolidate the configurations into a single file, which improves the maintainability and organization of the application.
      080bf359
    • Florian Schröder's avatar
      Refactor recorder and hooks setup in config files · 6a671b9e
      Florian Schröder authored
      This commit refactors the setup of recorders and hooks in several configuration files. It simplifies the YAML structure, renames "extra_setup_functions" to "hook_callbacks", and replaces "log_path" with "record_path". This makes the configurations cleaner and more intuitive. The update also removes the "func" and "kwargs" in the extra setup functions. Now only hooks are registered. This change should not affect functionality, because until now only hooks were registered as extra setup functions.
      6a671b9e
  5. Mar 08, 2024
  6. Mar 07, 2024
  7. Mar 06, 2024
  8. Mar 05, 2024
  9. Mar 04, 2024
  10. Feb 29, 2024
    • Florian Schröder's avatar
      Refactor EffectManager into effects module · 4d93be01
      Florian Schröder authored
      The EffectManager class along with related effects have been moved to a newly created effects.py module. Also, instead of importing from cooperative_cuisine.effect_manager, the rest of the code now imports from cooperative_cuisine.effects. This is mainly to improve the project structure and to clarify the code organization, and avoid circular import issues.
      4d93be01
    • 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
  11. Feb 28, 2024
  12. Feb 27, 2024
    • Florian Schröder's avatar
      Implement InfoMsgManager as a HookCallbackClass · 69429018
      Florian Schröder authored
      The InfoMsgManager class in the Overcooked simulator has been refactored to inherit from the HookCallbackClass. This allows messages from info_msg.py to be wrapped with additional hook functionality, improving the management of triggered events. Additionally, modifications have been made to the environment configuration yaml file to facilitate this change.
      69429018
  13. Feb 22, 2024
  14. Feb 21, 2024
  15. Feb 19, 2024
  16. Feb 15, 2024
  17. Feb 14, 2024
  18. Feb 13, 2024
  19. Feb 10, 2024
    • Florian Schröder's avatar
      Add Overcooked 1 layout files and minor code adjustments · fb060696
      Florian Schröder authored
      Several Overcooked 1 layout files have been added along with changes in the counter mappings for the game simulator. This includes serving window character changes and addition of clean plate character mappings. Additionally, `overcooked_simulator/utils.py` has been modified to include a method that creates a basic layout grid. These changes help in enhancing and expanding the game simulator.
      fb060696
Loading