- Mar 27, 2024
-
-
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.
-
- Mar 26, 2024
-
-
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 10, 2024
-
-
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.
-
- Feb 29, 2024
-
-
Florian Schröder authored
Action, ActionType, and InterActionData classes have been moved from the environment module into a separate file named action.py. All imports have been adjusted to reflect this change. This provides a clearer structure and improves modularity in the code, as all action related classes and enums are now organized in a single module.
-
- 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.
-
Florian Schröder authored
The "gui_2d_vis" directory has been renamed to "pygame_2d_vis". All references to "gui_2d_vis" in imports and file paths throughout the code have been updated to the new name. The renaming is clearer about the visualization library used and aligns with project conventions for directory naming.
-
Florian Schröder authored
All instances of 'overcooked_simulator' have been replaced with 'cooperative_cuisine'. This includes changes in file paths, imports, and script names. The necessary adjustments to reflect this rename have also been made in the documentation, setup files, test scripts, and CI/CD configuration.
-
Florian Schröder authored
This update introduces changes to setup.py and video_replay.py. In setup.py, a new dependency "tqdm>=4.65.0" is added. Significant changes are made to video_replay.py, where new functionalities are introduced to allow creation of images via simulation of game environment based on sequence of actions, and generate videos from images. This facilitates visualization of game progress, especially helpful for debugging and analysis purposes. Additionally, flexible customization options are added for items like grid size, player numbers, and breakdown when no actions are available.
-
- Feb 27, 2024
-
-
Florian Schröder authored
This commit adds a new file `video_replay.py` to the Overcooked Simulator which introduces the capability to generate and display video replays from recorded games. It provides two methods; one to simulate and visualize actions from an action file, and another to visualize from recorded JSON states. In addition, command line argument parsing has been implemented for flexibility and easy usage.
-