Skip to content
Snippets Groups Projects
  1. Sep 16, 2024
  2. Sep 12, 2024
  3. Apr 30, 2024
  4. Apr 23, 2024
  5. Apr 04, 2024
  6. Apr 03, 2024
    • Florian Schröder's avatar
      Add type hints and docstrings across multiple modules · 5c100dd0
      Florian Schröder authored
      Added type hints and docstrings throughout the project, notably in the effects, orders, study server, and game server modules. These additions provide better understanding and ease in navigating through the codebase. Minor code reorganization and syntax optimization were also performed.
      5c100dd0
  7. Mar 27, 2024
  8. Mar 25, 2024
    • 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
  9. Mar 20, 2024
    • Florian Schröder's avatar
      Refactor code and enhance documentation in Cooperative Cuisine project · 9954b230
      Florian Schröder authored
      Several sections of the codebase have been refactored for maintainability. The 'ORDERS' module has witnessed some cleanups and adjustments in the 'create_init_orders' method. Hooks and associated comments were added in the 'hooks' module for better understanding of code functionality. The 'pygame_2d_vis' script's documentation was also improved for clarity.
      9954b230
  10. 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
  11. Mar 10, 2024
    • 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
  12. 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
  13. Mar 08, 2024
  14. Mar 07, 2024
  15. Mar 05, 2024
    • Florian Schröder's avatar
      Add docstrings and minor adjustments to cooperative_cuisine · 5a9b4874
      Florian Schröder authored
      This commit adds detailed docstrings for various methods and classes in the 'cooperative_cuisine' module for enhanced code understanding. Also includes minor changes to the .gitlab-ci.yml and pygame_2d_vis/__init__.py files and adds an image in the docs markdown file. Code readability and maintainability improved with these changes.
      5a9b4874
    • Florian Schröder's avatar
      Update code comments and typespecs across modules · bef24476
      Florian Schröder authored
      Enhanced overall code clarity by adding and revising detailed comments, docstrings, and typespecs in various Python modules. Significant changes include refining functionality of effect management in 'effects.py', modifications to use of 'numpy' arrays and functions in 'movement.py', as well as adjustments to handling hooks. Additionally, minor updates in 'configs/study/level1/level1_config.yaml' and 'counter_factory.py' were made.
      bef24476
  16. Feb 28, 2024
    • 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
    • Florian Schröder's avatar
      Add comprehensive in-line documentation for Overcooked simulator · ba95e751
      Florian Schröder authored
      This commit introduces thorough in-line documentation for different modules in the Overcooked simulator's code. This includes adding descriptions for classes, methods, and attributes across multiple files like recording.py, info_msg.py, hooks.py, effect_manager.py, etc. Additionally, explanations and examples of hooks have been provided where relevant. The overall readability and maintainability of the code is expected to improve with this change.
      ba95e751
  17. Feb 14, 2024
  18. Feb 09, 2024
    • Florian Schröder's avatar
      Add drop-off interaction with cooking equipment · b83ba205
      Florian Schröder authored
      The code now includes a new hook called 'drop_off_on_cooking_equipment'. This hook is used to track and score instances of players dropping off items on the cooking equipment in the Overcooked game simulator. This enhancement will allow for more detailed game simulations and scoring capabilities.
      b83ba205
    • Florian Schröder's avatar
      Add in-game information messages feature · 5055e503
      Florian Schröder authored
      The updates have introduced an in-game information messages feature, allowing messages to be delivered to players during gameplay. This could be used to notify about certain events or conditions such as new fires or fire spreading. The updates also included the necessary hooks and message levels, which are 'Normal', 'Warning', and 'Success'. Furthermore, these messages can be displayed in the game's GUI.
      5055e503
    • fheinrich's avatar
      Using state vector in env · 343242fd
      fheinrich authored
      343242fd
  19. Feb 08, 2024
    • Florian Schröder's avatar
      Refactor scoring system and order management · 3c1fda71
      Florian Schröder authored
      The scoring system and order management have been significantly updated. The score calculation has been moved out from 'OrderManager' to external 'ScoreViaHooks' class which works via hooks. The order management updates include separating scoring from orders and removing unused functions. Changes in the configuration file and other related files updated to accommodate these modifications.
      3c1fda71
  20. Feb 04, 2024
    • Florian Schröder's avatar
      Implement additional logging and recording features · 4636abf5
      Florian Schröder authored
      This update introduces comprehensive hook management, improved environment setup functions, and a new class for logging and recording simulations. The enhanced hook management ensures better callback registration and tracing of specific simulation events. Extra setup functions allow more flexibility in setting parameters from the environment config. The new logging and recording class makes it easier to capture simulation data in a structured format for analysis. Various minor fixes and code refactoring are also included.
      4636abf5
  21. Feb 02, 2024
    • Florian Schröder's avatar
      Refactor callback registration in OvercookedEnvironment · 6f16f87c
      Florian Schröder authored
      The refactoring moves the redundant callback registrations from `overcooked_environment.py` to a dedicated function, `add_dummy_callbacks`, in `hooks.py`. This restructure streamlines the code and improves readability by reducing clutter in the Overcooked Environment initialization method.
      6f16f87c
    • Florian Schröder's avatar
      Add callback hooks for game events in overcooked simulator · c8c7a773
      Florian Schröder authored
      This commit introduces specific event hooks for key game moments within the overcooked simulator. These include events like serving a non-ordered meal, starting to use the sink, completing an order, and using the trashcan. Callbacks were registered for these hooks to provide real-time feedback such as messages. Also, a typo in POST_PERFORM_ACTION parameter was corrected.
      c8c7a773
    • Florian Schröder's avatar
      Implement hooks for tracking game events · 6b2b8c76
      Florian Schröder authored
      Added a Hooks class to monitor events related to player actions, item interactions, and state changes in the game environment. A hook triggers a corresponding event when a specific action takes place, such as a player picking up an item or a game state changing. This feature will make debugging easier and provide valuable insights during gameplay.
      6b2b8c76
Loading