- Feb 02, 2024
-
-
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
-
Fabian Heinrich authored
Resolve "Trashcan usage can affect the score" See merge request scs/cocosy/overcooked-simulator!36
-
Fabian Heinrich authored
-
Fabian Heinrich authored
-
Florian Schröder authored
Refactored the way layout file paths are stored and accessed within the Overcooked simulator GUI. Now, layout file paths are stored in a dictionary which allows for more efficient and flexible usage when setting up the environment. The drop-down menu now initializes with 'basic.layout' as the default option, if it exists, otherwise a random layout is chosen.
-
Florian Schröder authored
# Conflicts: # overcooked_simulator/game_server.py
-
Fabian Heinrich authored
-
Florian Schröder authored
# Conflicts: # overcooked_simulator/game_server.py
-
Florian Schröder authored
-
Florian Schröder authored
The commit incorporates the state changes for the 'reset_button' in different scenarios in the overcooked_gui.py file. The reset button is now configured to either show or hide during particular instances of the game, enhancing the user interaction by providing clearer game state transitions.
-
- Jan 28, 2024
-
-
Florian Schröder authored
The instructions for starting the Overcooked game server and GUI have been updated. They now include manager_ids as extra arguments, which are necessary for proper setup. This changelog is reflected in the __init__.py file of the overcooked_simulator directory.
-