- Mar 11, 2024
-
-
Florian Schröder authored
Resolve "Study Server sends complete websocket url" Closes #107 See merge request scs/cocosy/overcooked-simulator!82
-
Florian Schröder authored
The code changes involved updating the system to manage websockets from the server side, which removed the necessity to hardcode the websocket URL. Furthermore, an implementation to configure host and port of the game server was added. This included setup functions and their usage in chat and data exchange servers. Tests were updated to reflect these changes as well.
-
Florian Schröder authored
Resolve "Old layout selection in gui when no study server is used" Closes #116 See merge request scs/cocosy/overcooked-simulator!81
-
Florian Schröder authored
The commit replaces the previous system file access to layout configuration files with a more user-friendly dropdown menu for layout selection. It ensures that the selected layout is correctly identified in all relevant parts of the code. The new method also includes error handling for cases where no layout files are found and an update to the menu state after level completion.
-
Florian Schröder authored
Resolve "Adapt/Overwrite env config attr in Study config" Closes #114 See merge request scs/cocosy/overcooked-simulator!78
-
Florian Schröder authored
This commit deletes an unnecessary file that was identified in the system. This helps in maintaining a cleaner and more efficient codebase.
-
Florian Schröder authored
# Conflicts: # cooperative_cuisine/configs/study/level1/level1_config.yaml # cooperative_cuisine/configs/study/level2/level2_config.yaml
-
Florian Schröder authored
Resolve "Remove repitition of Hook callback class in env config" Closes #115 See merge request scs/cocosy/overcooked-simulator!77
-
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.
-
Florian Schröder authored
Merge remote-tracking branch 'origin/dev' into 115-remove-repitition-of-hook-callback-class-in-env-config
-
Florian Schröder authored
Resolve "More tests" Closes #112 See merge request scs/cocosy/overcooked-simulator!79
-
- 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.
-
Florian Schröder authored
This commit introduces a new test suite for the pygame functionality. It includes tests for color formatting and uniqueness, angle calculations, and proper initialization of the Visualizer. The tests aim to enhance game integrity and avoid potential issues with visualization.
-
Florian Schröder authored
The pprint import and its instances were removed from study_server.py to clean up the code. The change will not affect the functionality, as the pprint statements were only used for debugging and are not necessary for the server's operations.
-
Florian Schröder authored
This commit removes the level specific configuration and item information files for 'level1' and 'level2' under the cooperative_cuisine project. Changes have been made to consolidate the configurations into a single file, which improves the maintainability and organization of the application.
-
Florian Schröder authored
This commit refactors the setup of recorders and hooks in several configuration files. It simplifies the YAML structure, renames "extra_setup_functions" to "hook_callbacks", and replaces "log_path" with "record_path". This makes the configurations cleaner and more intuitive. The update also removes the "func" and "kwargs" in the extra setup functions. Now only hooks are registered. This change should not affect functionality, because until now only hooks were registered as extra setup functions.
-
- Mar 09, 2024
-
-
Florian Schröder authored
Various changes have been made in the codebase to improve readability and maintainability. Type hints have been added to the functions and variables for better understanding of the datatypes. Refactoring of some code segments has also been done to make the code more concise and readable. The 'EffectType', 'ItemType' enumerations have been enriched with docstrings for better understanding of the enums. Certain classes have been updated to better follow the single responsibility principle.
-
Florian Schröder authored
The 'player_config' dictionary is replaced with the PlayerConfig class to provide type-checking and improve readability. This change is applied across different files in the 'cooperative_cuisine' module. Additionally, this commit improves type hints for several variables and parameters to assist with code interpretation and potential error prevention.
-
Florian Schröder authored
Docstrings across classes and functions in different modules have been adjusted for consistency, specifically in how Return and Raise explanations are formatted. This makes the code more readable and uniform. Additionally, the environment name in 'environment.py' has been updated from "overcooked_sim" to "cooperative_cuisine_1".
-
- Mar 08, 2024
-
-
Florian Schröder authored
The version in setup.py has been updated from 0.1.0 to 1.0.0. Additionally, the callback for sink interaction has been removed from hooks.py. The release date of version 1.0.0 has also been confirmed in the CHANGELOG.
-
Fabian Heinrich authored
Resolve "record relevent game events with hooks" Closes #109 See merge request scs/cocosy/overcooked-simulator!75
-
fheinrich authored
-
fheinrich authored
-
fheinrich authored
-
fheinrich authored
-
Florian Schröder authored
Resolve "More tests" Closes #110 See merge request scs/cocosy/overcooked-simulator!76
-
Florian Schröder authored
-
Florian Schröder authored
The refactoring involved creating a new function to handle game server requests for cleaner and more concise code. Changes were also made to the formatting of commit messages for better readability. Invalid game environment configurations are now dealt with accordingly to prevent game errors. Several updates were made to the tests to ensure they accurately measure the performance and functionality of the game.
-
fheinrich authored
# Conflicts: # cooperative_cuisine/items.py
-
Fabian Heinrich authored
-
Fabian Heinrich authored
-
Fabian Heinrich authored
-
Fabian Heinrich authored
-
Fabian Heinrich authored
-
fheinrich authored
-
Fabian Heinrich authored
-
Fabian Heinrich authored
-
- Mar 07, 2024
-
-
Florian Schröder authored
-
Florian Schröder authored
Added docstrings to constructors of several classes in various modules to improve code readability and maintainability. Also, explicit type hints were provided for the fields in these classes aiding in better understanding of the data types used across the codebase.
-