- Feb 06, 2024
-
-
Fabian Heinrich authored
-
Fabian Heinrich authored
-
- Feb 05, 2024
-
-
Fabian Heinrich authored
-
- 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.
-
Florian Schröder authored
Added the definition and interactions for game effects and tools. The effect type was introduced to influence the player's interactive abilities or alter item's attributes. The tool type extends the player's interactive abilities. It also includes the part related to fire and fire extinguisher for more realistic simulation.
-
Florian Schröder authored
A `waste_progress` attribute has been added to track the progress of burnt items. Changes also include the visualization of burnt items in greyscale and additional definitions for various types of burnt meals in Overcooked Simulator. This update enhances both the gameplay and its realism, indicating when an item is overcooked or burnt.
-
- Feb 02, 2024
-
-
Florian Schröder authored
The code for calculating the progress bar's position within the grid in gui_2d_vis/drawing.py has been clarified. Instead of directly manipulating the `pos` variable, a new `bar_pos` variable has been introduced. This revision enhances readability and maintains the integrity of the `pos` value.
-
Florian Schröder authored
Resolve "Hooks" Closes #78 See merge request scs/cocosy/overcooked-simulator!46
-
Florian Schröder authored
The dummy callbacks previously used for testing in the file 'overcooked_environment.py' have been removed. This has been done to avoid redundancy and ensure cleaner code. The comments referencing these callbacks have been updated accordingly.
-
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
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.
-
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.
-
Florian Schröder authored
Resolve "Type hint class for environment config" Closes #75 See merge request scs/cocosy/overcooked-simulator!37
-
Florian Schröder authored
The EnvironmentConfig and OrderConfig classes, previously defined in the utils.py file, were moved to their respective modules overcooked_environment.py and order.py. This change creates a central location for configuration and reduces unnecessary dependencies in the utils.py file.
-
Florian Schröder authored
# Conflicts: # overcooked_simulator/utils.py
-
- Jan 31, 2024
-
-
Florian Schröder authored
- /README.md - /overcooked_simulator/__init__.py
-
Florian Schröder authored
The changes made are focused on improving the readability of code comments and clarifying the purpose of sections within the 'overcooked_simulator'. Formatting changes were made to separate headers for better readability and the meaning of certain terms, like 'extra_repr' in 'game_items.py', was clarified further.
-
Florian Schröder authored
This commit improves the readability of project documentation in `overcooked_simulator/__init__.py` file. Specifically, it separates the text about direct integration into separate lines for clarity and tidies up the example YAML configuration, consistently indenting the different sections of the content.
-
Florian Schröder authored
The changes include improving the wording in readme files, from 'Python 3.10 or higher' to 'Python 3
-
Florian Schröder authored
Documentation has been updated to provide better clarity on the layout and equipment configuration. The README file now includes information on defining counter mappings in the Environment config. The code examples in comments within the counters.py file have also been reformatted and updated, specifically those related to defining equipment types and dispenser characters. The additional change includes an expanded section in the __init__.py file on environment and item configuration.
-
Florian Schröder authored
The code changes include renaming the 'category' field from "Cooking Equipment" to "ItemCookingEquipment" in sample_state.json. The documentation has also been updated with more detailed explanations on how the system works, including how to install and use it. A few function signatures were changed and additional explanation comments were included in the counters.py and utils.py files for better code clarity.
-
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.
-
Florian Schröder authored
An argparse has been added to the overcooked simulator script for better configuration of the command line interface. This allows the user to input the state file, visualization configuration and output filename when executing the script. As a result, the need to manually update these parameters in the script has been mitigated.
-
- Jan 30, 2024
-
-
Fabian Heinrich authored
Resolve "Create only an image for a json state" Closes #73 See merge request scs/cocosy/overcooked-simulator!39
-
Fabian Heinrich authored
-
Fabian Heinrich authored
Added sample json file for testing (could change/break in future), added saving images created from states.
-
Fabian Heinrich authored
Resolve "Finalize coordinate system" Closes #76 See merge request scs/cocosy/overcooked-simulator!38
-
Fabian Heinrich authored
-
Fabian Heinrich authored
-
Fabian Heinrich authored
-
Fabian Heinrich authored
-
Fabian Heinrich authored
-
Fabian Heinrich authored
-
Florian Schröder authored
The argument parser and related function calls have been moved from the `__main__` function in the Overcooked Simulator to the `main` function. This change streamlines the function calls and improves code readability and management. Furthermore, it ensures that essential configurations are in place before the game server and GUI are initiated.
-
- Jan 29, 2024
-
-
Fabian Heinrich authored
-
Fabian Heinrich authored
Resolve "Drawing order of counters and things on top" Closes #48 See merge request scs/cocosy/overcooked-simulator!35
-
Fabian Heinrich authored
-
Fabian Heinrich authored
-
Fabian Heinrich authored
-
Fabian Heinrich authored
Resolve "Counter Factory" Closes #61 See merge request scs/cocosy/overcooked-simulator!34
-