Skip to content
Snippets Groups Projects
  1. Jan 26, 2024
    • Florian Schröder's avatar
      Update test_start.py · 8e8075b4
      Florian Schröder authored
      8e8075b4
    • Florian Schröder's avatar
      Update test_start.py · 993908e6
      Florian Schröder authored
      993908e6
    • Florian Schröder's avatar
      Refactor overcooked simulator and tests, remove GUI lock · 28f70141
      Florian Schröder authored
      This commit removes a temporal lock previously used for the GUI. This leads to refinement and adjustments to the usage of datetime and timedelta in the simulator environment. In the tests, the Simulator class is replaced with directly creating an Environment instance and testing the desired features. Additions include comments for future TODOs relating to further enhancements and checks.
      28f70141
    • Florian Schröder's avatar
      Update player speed attribute and handle Enum serialization · dc8d7e4f
      Florian Schröder authored
      Renamed `move_dist` attribute to `player_speed_units_per_seconds` in player configuration. Also implemented `__post_init__` method in Action class to handle conversion from str to Enum type. Added a utility function `custom_asdict_factory` to handle Enum serialization for actions. Various code updates are made to accommodate these changes. Fixes merge bugs.
      dc8d7e4f
  2. Jan 25, 2024
    • Florian Schröder's avatar
      Update Overcooked simulator to support state export in JSON format · df234b9c
      Florian Schröder authored
      The update introduces a new function `get_json_state()` in overcooked_environment.py that exports the current game state in JSON format. Changes were made to player.py, counters.py, and game_items.py to include an additional `to_dict()` function which represents their current status as a dictionary. This commit also includes minor naming changes, such as renaming `beginning_time` to `start_time`.
      df234b9c
  3. Jan 22, 2024
    • Florian Schröder's avatar
      Refactor item transition implementation in simulator · bb1339ae
      Florian Schröder authored
      The transition implementation for items in the simulator has been updated. This refactoring introduces the filter_item_info function, replacing the previous verbose, repeating pattern with filter_item_info method calls in the overcooked_environment.py module. This makes the code more efficient and readable. Test adjustments and additional type hints were also included.
      bb1339ae
  4. Jan 19, 2024
  5. Jan 17, 2024
  6. Dec 21, 2023
  7. Dec 18, 2023
  8. Dec 14, 2023
  9. Dec 07, 2023
  10. Dec 06, 2023
  11. Dec 05, 2023
  12. Dec 04, 2023
  13. Nov 23, 2023
Loading