Skip to content
Snippets Groups Projects
  1. Mar 27, 2024
    • Florian Schröder's avatar
      Update SSL usage and enhance argument parsing · 843b145f
      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.
      843b145f
  2. Mar 26, 2024
    • Florian Schröder's avatar
      Extract argument parser creation into separate file · 27389f93
      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.
      27389f93
  3. Mar 10, 2024
    • Florian Schröder's avatar
      Refactor recorder and hooks setup in config files · 6a671b9e
      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.
      6a671b9e
  4. Feb 29, 2024
    • Florian Schröder's avatar
      Refactor Action classes into separate file · 49231a76
      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.
      49231a76
  5. Feb 28, 2024
    • Florian Schröder's avatar
      Update references from Overcooked to Cooperative Cuisine · 71900e2a
      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.
      71900e2a
    • Florian Schröder's avatar
      Rename "gui_2d_vis" directory to "pygame_2d_vis" and update paths · e8402865
      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.
      e8402865
    • Florian Schröder's avatar
      Rename project from overcooked_simulator to cooperative_cuisine · 242c9860
      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.
      242c9860
    • Florian Schröder's avatar
      Add simulation-based image generation and video replay functionalities · 83be4728
      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.
      83be4728
  6. Feb 27, 2024
    • Florian Schröder's avatar
      Add video replay functionality in Overcooked Simulator · 28b2d880
      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.
      28b2d880
Loading