- Mar 18, 2024
-
-
Fabian Heinrich authored
-
Fabian Heinrich authored
-
Fabian Heinrich authored
-
Fabian Heinrich authored
-
- Mar 15, 2024
-
-
Fabian Heinrich authored
-
Fabian Heinrich authored
Changed from unpacking operator to direct accessing of grid idx, weirdly did not work on gitlab test runner
-
Fabian Heinrich authored
-
fheinrich authored
-
fheinrich authored
-
fheinrich authored
-
Fabian Heinrich authored
- added function for calculating a graph with possible movements - used astar on this graph for the random agent
-
Fabian Heinrich authored
-
Fabian Heinrich authored
-
- Mar 14, 2024
-
-
Florian Schröder authored
-
- Mar 13, 2024
-
-
fheinrich authored
-
fheinrich authored
-
Fabian Heinrich authored
-
Fabian Heinrich authored
-
Fabian Heinrich authored
- Looks simpler - Adjusted button hiding on number of humans - Kitchen size gets returned in level info
-
Florian Schröder authored
Positions and state of items and counters in the cooperative_cuisine/pygame_2d_vis/sample_state.json file were edited. This included adding new counters and items, changing current nearest counter information and positioning, modifying held objects, and altering active effect conditions among others. The changes cater for a better test coverage.
-
Fabian Heinrich authored
- added number of players to level info - added draw cook method to vis - Draw cook and meal on sufaces and show them on postgame screen instead of text
-
Florian Schröder authored
The reference to the config dictionary has been refactored for better organization in the drawing.py file. Previously, key-value pairs were directly accessed from the config dictionary, now they are accessed from a nested dictionary under the "Gui" key. This change aims to improve code clarity and manageability.
-
Fabian Heinrich authored
-
Fabian Heinrich authored
-
- Mar 12, 2024
-
-
Florian Schröder authored
The visualization settings for the pygame 2d visualization such as 'use_player_cook_sprites', 'show_interaction_range', and 'show_counter_centers' are now part of the configuration in 'visualization.yaml'. If these settings are not defined in the configuration, the program will use default values. This change allows for easier modification of the visualization aspects without directly changing the code each time.
-
- Mar 11, 2024
-
-
Fabian Heinrich authored
-
Fabian Heinrich authored
- Language can be selected from visualization.yaml, "en" and "de" for now.
-
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
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
This commit deletes an unnecessary file that was identified in the system. This helps in maintaining a cleaner and more efficient codebase.
-
- Mar 10, 2024
-
-
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
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.
-
fheinrich authored
-
fheinrich authored
-