- Jan 31, 2024
-
-
Florian Schröder authored
The updates include adding docstrings and type hinting to several classes and methods in multiple Python files. This commit also includes fixes for inconsistent code formatting and minor bugs. The docstrings provide essential details about the classes and methods, improving readability and understanding for other developers. Furthermore, the added type hinting will enable better IDE assistance, static analysis, and clarity on expected input and output types. Lastly, the code formatting fixes and bug fixes enhance the overall code quality and maintainability.
-
- Jan 27, 2024
-
-
Florian Schröder authored
This update introduces a penalty computation for items that the player puts into the trash in the Overcooked simulator. A new function has been added onto the Order class to calculate this penalty, and the Trashcan class has been updated to use this new function whenever an item is dropped off. This change helps to further emulate real gameplay mechanics.
-
Florian Schröder authored
The `overcooked_environment.py` file has been significantly refactored to streamline handling of counter setup. Post counter setup responsibilities have been shifted to the `CounterFactory` class. A utility function, `get_closest`, has been introduced in `utils.py` to determine the closest counter and is used in multiple classes. Minor updates are also made across several other classes for optimization and clarity. The 'other' score in `environment_config.yaml` has been changed from 0 to 20.
-
- Jan 26, 2024
-
-
Florian Schröder authored
This commit simplifies the overcooked environment by refactoring the way counters are created and managed. A new CounterFactory class is introduced, offloading logic from the environment class. In addition, the symbol to character mapping and other environment-related configurations are moved to a separate YAML file. The .gitignore file is also updated to ignore the 'playground' directory. Making these changes enhances code maintainability and readability.
-
Florian Schröder authored
The CookingCounter is now included in the list of counters for which we calculate progress. Additionally, if a counter type is not defined in the configuration, a ValueError will be raised. Unnecessary imports were also removed from 'overcooked_gui.py', and a 'to_dict' method was added in 'counters.py'. Fixing errors from merge.
-
- 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 20, 2024
-
-
Florian Schröder authored
-
Florian Schröder authored
Convert Stove to abstract "CookingCounter". Added item info and visualization for pizza and fish and chips meals including their ingredients and intermediate steps and cooking equipments and counters. Implemented accepting_not_ordered_meals func
-
- Jan 19, 2024
-
-
Florian Schröder authored
-
Florian Schröder authored
-
Florian Schröder authored
-
Florian Schröder authored
-
-
Florian Schröder authored
-
Florian Schröder authored
-
- Jan 18, 2024
-
-
Florian Schröder authored
-
Fabian Heinrich authored
-
- Jan 17, 2024
-
-
Florian Schröder authored
-
Florian Schröder authored
-
Florian Schröder authored
-
Florian Schröder authored
-
- Jan 16, 2024
-
-
Dominik Battefeld authored
-
- Dec 21, 2023
-
-
Florian Schröder authored
-
- Dec 20, 2023
-
-
Florian Schröder authored
-
Florian Schröder authored
staticmethod
-
Florian Schröder authored
-
Florian Schröder authored
Stack plates in sink.
-
Florian Schröder authored
plate dispenser without manager. plates disappear for a time and then appear on the plate dispenser. You can now add stuff on the plates on the dispenser. New lock for gui and environment.
-
Fabian Heinrich authored
Added game mechanic washing dishes. Served plates return in the plate return, can be washed in sink. TODO can wash multiple plates in the sink by holding interact button
-
- Dec 19, 2023
-
-
Florian Schröder authored
add also simple burger assets and pan.
-
Dominik Battefeld authored
-
- Dec 15, 2023
-
-
Fabian Heinrich authored
-
Fabian Heinrich authored
-
Florian Schröder authored
plate is now cooking equipment. Color red is now a red1
-
Fabian Heinrich authored
-
- Dec 14, 2023
-
-
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 13, 2023
-
-
Fabian Heinrich authored
-
- Dec 11, 2023
-
-
Fabian Heinrich authored
-