Skip to content
Snippets Groups Projects
  1. Mar 18, 2024
  2. Mar 15, 2024
  3. Mar 14, 2024
  4. Mar 13, 2024
  5. Mar 12, 2024
    • Florian Schröder's avatar
      Update pygame visualization settings · af78587a
      Florian Schröder authored
      The visualization settings for the pygame 2d visualization such as 'use_player_cook_sprites', 'show_interaction_range', and 'show_counter_centers' are now part of the configuration in 'visualization.yaml'. If these settings are not defined in the configuration, the program will use default values. This change allows for easier modification of the visualization aspects without directly changing the code each time.
      af78587a
  6. Mar 11, 2024
    • Fabian Heinrich's avatar
      Added translations for recipe names. · f2fda7b6
      Fabian Heinrich authored
      f2fda7b6
    • Fabian Heinrich's avatar
      Added i18n via pygamegui. · cb5154e1
      Fabian Heinrich authored
      - Language can be selected from visualization.yaml, "en" and "de" for now.
      cb5154e1
    • Florian Schröder's avatar
      Update websocket handling and configure server host and port · c2c310b9
      Florian Schröder authored
      The code changes involved updating the system to manage websockets from the server side, which removed the necessity to hardcode the websocket URL. Furthermore, an implementation to configure host and port of the game server was added. This included setup functions and their usage in chat and data exchange servers. Tests were updated to reflect these changes as well.
      c2c310b9
    • Florian Schröder's avatar
      Add layout selection dropdown to GUI · 9fb76822
      Florian Schröder authored
      The commit replaces the previous system file access to layout configuration files with a more user-friendly dropdown menu for layout selection. It ensures that the selected layout is correctly identified in all relevant parts of the code. The new method also includes error handling for cases where no layout files are found and an update to the menu state after level completion.
      9fb76822
    • Florian Schröder's avatar
      Remove redundant file · fd42cfba
      Florian Schröder authored
      This commit deletes an unnecessary file that was identified in the system. This helps in maintaining a cleaner and more efficient codebase.
      fd42cfba
  7. Mar 10, 2024
    • Florian Schröder's avatar
      Update comparisons and variable types, add tests · 14a081cc
      Florian Schröder authored
      This commit modifies comparison operators for timers to be less than or equal in various scripts. It also changes variable types explicitly in scores.py and adds several new tests for functionalities like effects, scores, information messages, trashing function etc. Additional updates include changes in values for certain default arguments in command line parser for generating images in the script for 2D visualization.
      14a081cc
    • Florian Schröder's avatar
      Remove redundant pprint statements in study_server · b3dd5d57
      Florian Schröder authored
      The pprint import and its instances were removed from study_server.py to clean up the code. The change will not affect the functionality, as the pprint statements were only used for debugging and are not necessary for the server's operations.
      b3dd5d57
    • 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
  8. 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
    • Florian Schröder's avatar
      Refactor 'player_config' usage and improve typing in 'cooperative_cuisine' · 95500cc8
      Florian Schröder authored
      The 'player_config' dictionary is replaced with the PlayerConfig class to provide type-checking and improve readability. This change is applied across different files in the 'cooperative_cuisine' module. Additionally, this commit improves type hints for several variables and parameters to assist with code interpretation and potential error prevention.
      95500cc8
    • Florian Schröder's avatar
      Refactor docstrings for consistency and update environment name · 2bd77a93
      Florian Schröder authored
      Docstrings across classes and functions in different modules have been adjusted for consistency, specifically in how Return and Raise explanations are formatted. This makes the code more readable and uniform. Additionally, the environment name in 'environment.py' has been updated from "overcooked_sim" to "cooperative_cuisine_1".
      2bd77a93
  9. Mar 08, 2024
Loading