- Aug 21, 2024
-
-
Florian Schröder authored
Switched from using np.round to np.ceil for block size calculation to ensure more accurate grid sizes. Additionally, replaced range with np.arange for consistent step intervals, and ensured rectangle positions use np.round for precise placement.
-
- Aug 20, 2024
-
-
Florian Schröder authored
Replaced grid_size-based scaling with a fixed value of 0.15 for the polygon creation offset. This change ensures consistency in offset scaling regardless of the grid size.
-
Florian Schröder authored
Updated `gym_env.py` and `drawing.py` to use unique environment names (`env_name`) for caching purposes, leveraging UUIDs for better cache management. Revised render and image fetch methods to incorporate the unique environment identifier, ensuring accurate and efficient cache invalidation and retrieval.
-
Florian Schröder authored
Enhanced visualizer by adding cache flags for background and counters and a reduced background mode for optimization. Adjusted relevant methods across video replay, performance benchmark, gym environment, and GUI code to use the new caching logic.
-
- Aug 19, 2024
-
-
Fabian Heinrich authored
-
Florian Schröder authored
Enhanced `get_state_image` to accept a list of controlled players, defaulting to a single player if not provided. This change ensures that the drawing function correctly interprets the input for controlled players, improving the function's flexibility and usability.
-
Florian Schröder authored
Renamed `grid_size` to `node_size` for clarity and consistency. Removed commented-out code and redundant parameters, and optimized some conditional statements to improve readability.
-
Fabian Heinrich authored
-
Fabian Heinrich authored
-
Fabian Heinrich authored
-
Fabian Heinrich authored
-
Fabian Heinrich authored
-
Fabian Heinrich authored
-
Fabian Heinrich authored
-
- Aug 16, 2024
-
-
Fabian Heinrich authored
-
- Apr 12, 2024
-
-
Florian Schröder authored
This commit changes all the URLs across the project, switching from the 'overcooked-simulator' slug to 'cooperative-cuisine'. All files were affected, specifically ones including metadata, documentation links, and setup configurations.
-
- Mar 27, 2024
-
-
Fabian Heinrich authored
-
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.
-
Florian Schröder authored
With this commit, the game now supports SSL connections. In addition, the argument parsing workflow was fundamentally improved to provide a clearer, better-structured usage of command line arguments for different functionalities. It also includes updates to the help documentations - now, each of these functionalities are accessible as subcommands with their own help messages. A minor update was also made to the test suite to reflect these changes.
-
Fabian Heinrich authored
-
- Mar 26, 2024
-
-
Fabian Heinrich authored
-
Florian Schröder authored
Moved the creation of argparse.ArgumentParser objects used to parse command line arguments into a separate module, `argument_parser.py`. This includes organizing all the add_argument calls into specific functions within this new module, in order to increase code readability, reusability and organization within the argument parsing codebase. All existing usages have been updated accordingly.
-
- Mar 20, 2024
-
-
Florian Schröder authored
Several sections of the codebase have been refactored for maintainability. The 'ORDERS' module has witnessed some cleanups and adjustments in the 'create_init_orders' method. Hooks and associated comments were added in the 'hooks' module for better understanding of code functionality. The 'pygame_2d_vis' script's documentation was also improved for clarity.
-
- Mar 19, 2024
-
-
Fabian Heinrich authored
-
- Mar 18, 2024
-
-
Fabian Heinrich authored
-
- Mar 15, 2024
-
-
fheinrich authored
-
Fabian Heinrich authored
-
- Mar 13, 2024
-
-
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
-
- 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 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.
-
- Mar 08, 2024
-
-
Fabian Heinrich authored
-
Fabian Heinrich authored
-
- Mar 06, 2024
-
-
Fabian Heinrich authored
-
Fabian Heinrich authored
-
- Mar 01, 2024
-
-
- Feb 29, 2024
-
-
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.
-
- Feb 28, 2024
-
-
Florian Schröder authored
This commit updates all references from Overcooked Simulator to Cooperative Cuisine across various titles, descriptions, URL and documentation in the code. Also added an undo dispenser pickup option to level configuration files and changed default server URL to localhost.
-