- Apr 15, 2024
-
-
Fabian Heinrich authored
-
- Apr 14, 2024
-
-
Fabian Heinrich authored
-
- Apr 12, 2024
-
-
Fabian Heinrich authored
-
Fabian Heinrich authored
-
Fabian Heinrich authored
-
- Apr 10, 2024
-
-
Fabian Heinrich authored
-
- Apr 03, 2024
-
-
Fabian Heinrich authored
-
- Mar 27, 2024
-
-
Fabian Heinrich authored
-
Fabian Heinrich authored
Score is calculated when recipe graph is created and shown next to recipes. Score of order is shown in game.
-
Fabian Heinrich authored
-
- Mar 26, 2024
-
-
Fabian Heinrich authored
-
Fabian Heinrich authored
-
- Mar 25, 2024
-
-
Florian Schröder authored
A logging functionality has been added to record participant connections in the study_server.py. The logs, which include the participant's IP, environment ID, level info, and player info, are stored in the directory specified in the study_config.yaml file. Moreover, the participant's host IP is now provided when retrieving their game connection.
-
Fabian Heinrich authored
-
- Mar 20, 2024
-
-
Fabian Heinrich authored
-
Fabian Heinrich authored
-
- Mar 18, 2024
-
-
Fabian Heinrich authored
-
- Mar 11, 2024
-
-
Fabian Heinrich authored
- Language can be selected from visualization.yaml, "en" and "de" for now.
-
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 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.
-
- Mar 08, 2024
-
-
Fabian Heinrich authored
-
fheinrich authored
-
Fabian Heinrich authored
-
- Mar 07, 2024
-
-
Fabian Heinrich authored
-
- Mar 06, 2024
-
-
Fabian Heinrich authored
-
Fabian Heinrich authored
-
- Mar 05, 2024
-
-
Florian Schröder authored
Enhanced overall code clarity by adding and revising detailed comments, docstrings, and typespecs in various Python modules. Significant changes include refining functionality of effect management in 'effects.py', modifications to use of 'numpy' arrays and functions in 'movement.py', as well as adjustments to handling hooks. Additionally, minor updates in 'configs/study/level1/level1_config.yaml' and 'counter_factory.py' were made.
-
Fabian Heinrich authored
-
Fabian Heinrich authored
-
- Mar 04, 2024
-
-
Fabian Heinrich authored
-
Florian Schröder authored
The updates address issues with empty meal lists during order creation. When no meals are available, no orders will be created, returning empty lists instead. Furthermore, the mandatory meal assertion in the environment's validate_environment method has been commented out. The meal list in the level1 config has been updated to only include 'Burger'.
-
- Mar 01, 2024
-
-
- Feb 29, 2024
-
-
Florian Schröder authored
The EffectManager class along with related effects have been moved to a newly created effects.py module. Also, instead of importing from cooperative_cuisine.effect_manager, the rest of the code now imports from cooperative_cuisine.effects. This is mainly to improve the project structure and to clarify the code organization, and avoid circular import issues.
-
Florian Schröder authored
The 'all_players_ready' field was moved from 'state_representation.py' to 'game_server.py'. Instead of being part of the initial state of the game, it's now part of the server environment, making it easier to keep track of the readiness of all players. Additionally, the game configuration in 'study_config.yaml' was updated to accommodate one player instead of two and no bots.
-
Fabian Heinrich authored
-
Florian Schröder authored
Made updates across multiple files targeting the usage and setting of configuration files. Several path settings have been altered, and the logic in the study server has been revised. Changes were also made in the file imports and other operations related to configurations and paths. Additionally, a validation check is added to warn if a player with the same name already exists in the environment.
-
Florian Schröder authored
The configurations for study level and game layout have been updated to accommodate new requirements. Additionally, a RecipeValidation class has been created to handle recipe graphs, which is now being utilized in both the drawing and game_server files. This is instead of the previous more scattered approach of handling such graphs within other classes or standalone functions. These changes make the code more organized and efficient.
-
Florian Schröder authored
This commit introduces a new Movement class which handles player movements, collisions, and interactions with counters in the 'cooperative_cuisine' environment. The commit also includes necessary changes to related configurations and adjustments in the 'environment.py' and 'player.py' files to accommodate the introduction of this new class. This encapsulation enhances readability, promotes code organization, and adheres to the principle of Single Responsibility.
-