- Mar 18, 2024
-
-
Fabian Heinrich authored
-
Fabian Heinrich authored
-
- Mar 13, 2024
-
-
Fabian Heinrich authored
- Looks simpler - Adjusted button hiding on number of humans - Kitchen size gets returned in level info
-
- Mar 11, 2024
-
-
Florian Schröder authored
Removed the 'hooks_via_callback_class' usage and replaced it with 'hook_callbacks'. The 'extra_setup_functions' field has been renamed to 'hook_callbacks' to provide a more accurate description of its role. The callback logic has consequently been adjusted, reducing verbosity and simplifying the code.
-
- Mar 10, 2024
-
-
Florian Schröder authored
Expanded the tests in the 'test_study_server.py' file to include testing for tutorial connectivity. Added tests in 'test_start.py' to test the functionality of PlateDispenser and Sink game items. This included tests to validate the handling of dirty and clean plates and testing item drops and pick-ups. Various adjustments were made to players' positions to accommodate the tests.
-
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.
-
- Mar 05, 2024
-
-
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.
-
- Mar 01, 2024
-
-
- Feb 29, 2024
-
-
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.
-
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.
-
Florian Schröder authored
The player addition test has been updated to check for error handling. Now, it checks if adding a player with an already existing name raises a ValueError, instead of testing for a restriction in player count.
-
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.
-
Florian Schröder authored
Extended the test suite by adding new test cases and a new test file for dispensers and serving windows. The CI/CD pipeline was updated to include a coverage configuration file (.coveragerc), ensuring lines not relevant to coverage are excluded. Additionally, minor changes were made to the basic.layout file.
-
- Feb 28, 2024
-
-
Florian Schröder authored
All configurations, scripts, and yaml files previously held in "game_content" are now placed in the "configs" directory for logical organization and better visibility. All references within the code that previously pointed to "game_content" have been updated to reflect the new "configs" path.
-
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.
-
- Feb 14, 2024
-
-
Fabian Heinrich authored
-
- Feb 06, 2024
-
-
Florian Schröder authored
The Overcooked environment module has been refactored to better handle player movements. The previously existing detect_collision function and its helper functions have been removed as they were no longer needed. Similarly, all the player speed values have been updated to reference a singular player_movement_speed attribute. The changes aimed to improve code readability, enforce unified player speeds, and remove redundant collision detection.
-
- Feb 03, 2024
-
-
Florian Schröder authored
The append call to the progressing_counters list in tests/test_start.py has been removed. This was deemed unnecessary because there was no subsequent use or reference to this call in the entire codebase, improving the code cleanliness and readability.
-
- Feb 02, 2024
-
-
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.
-
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.
-
- Jan 30, 2024
-
-
Fabian Heinrich authored
-
- Jan 26, 2024
-
-
Florian Schröder authored
-
Florian Schröder authored
-
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.
-
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.
-
- Jan 25, 2024
-
-
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`.
-
- Jan 22, 2024
-
-
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.
-
- Jan 19, 2024
-
-
Florian Schröder authored
-
Fabian Heinrich authored
-
Florian Schröder authored
-
- Jan 17, 2024
-
-
Florian Schröder authored
-
Fabian Heinrich authored
-
Florian Schröder authored
-
- Dec 21, 2023
-
-
Fabian Heinrich authored
-
Florian Schröder authored
-
- Dec 18, 2023
-
-
Fabian Heinrich authored
-
- Dec 14, 2023
-
-
Florian Schröder authored
-
Florian Schröder authored
Changed path concatenation, Created dataclass for item information, pass item config path via argument of the environment, no tomato class anymore, no pot class anymore, no soup and pan class, now everything is either a meal, cuttableitem, item, cookingequipment or plate. maybe do the plate as a cooking equipment next.
-
Fabian Heinrich authored
-
- Dec 07, 2023
-
-
Florian Schröder authored
-