Skip to content
Snippets Groups Projects
  1. Mar 18, 2024
  2. Mar 15, 2024
  3. Mar 07, 2024
    • Florian Schröder's avatar
      Refactor code for clarity and type hinting · 97539d86
      Florian Schröder authored
      The code has been refactored to clarify the functionality of various components and improve type hinting. Documentation for methods has been expanded. The return types of to_dict methods in several classes have been changed to return CounterState. The Counter class now correctly handles cases where an Item or Iterable[Item] is occupied. An unnecessary Boolean attribute, all_players_ready, has been commented out. Manual normalization of orientation vectors has been introduced.
      97539d86
    • Florian Schröder's avatar
      Refactor and modify classes with improved explanations · b0201cd6
      Florian Schröder authored
      The classes across several files have been modified to improve clarity, provide better comments, and refine attribute representations. This commit involves refactoring the item, effect, and player classes to include more detailed descriptions and user-friendly outputs. The change also simplifies some methods and eliminates redundancies for cleaner and more efficient code.
      b0201cd6
  4. Mar 06, 2024
  5. Mar 05, 2024
    • Florian Schröder's avatar
      Update CI config and improve code readability · 09a0bc5c
      Florian Schröder authored
      The CI configuration file and several Python scripts were updated for better adherence to best practices. The CI now includes a footer in the pdoc document generation step. Moreover, variable names and import paths were updated to be more explicit and clear. Some paths in the scripts were also generalized. In addition, the json.dumps function was used to print the create_json_schema function's output in a prettier format. Lastly, minor modifications were made to the README and comments for better clarity and understanding.
      09a0bc5c
  6. Feb 29, 2024
    • Florian Schröder's avatar
      Update player readiness and game configuration · 8373a98b
      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.
      8373a98b
  7. Feb 28, 2024
    • 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
  8. Feb 23, 2024
  9. Feb 22, 2024
  10. Feb 13, 2024
  11. Feb 09, 2024
    • Florian Schröder's avatar
      Add in-game information messages feature · 5055e503
      Florian Schröder authored
      The updates have introduced an in-game information messages feature, allowing messages to be delivered to players during gameplay. This could be used to notify about certain events or conditions such as new fires or fire spreading. The updates also included the necessary hooks and message levels, which are 'Normal', 'Warning', and 'Success'. Furthermore, these messages can be displayed in the game's GUI.
      5055e503
  12. Feb 07, 2024
  13. Feb 03, 2024
    • Florian Schröder's avatar
      Implement game effects and tools framework · c7899968
      Florian Schröder authored
      Added the definition and interactions for game effects and tools. The effect type was introduced to influence the player's interactive abilities or alter item's attributes. The tool type extends the player's interactive abilities. It also includes the part related to fire and fire extinguisher for more realistic simulation.
      c7899968
    • Florian Schröder's avatar
      Add waste progress attribute and burnt item visualization · 889364ac
      Florian Schröder authored
      A `waste_progress` attribute has been added to track the progress of burnt items. Changes also include the visualization of burnt items in greyscale and additional definitions for various types of burnt meals in Overcooked Simulator. This update enhances both the gameplay and its realism, indicating when an item is overcooked or burnt.
      889364ac
  14. Jan 31, 2024
    • Florian Schröder's avatar
      Add docstrings and type hinting · ff409005
      Florian Schröder authored
      The updates include adding docstrings and type hinting to several classes and methods in multiple Python files. This commit also includes fixes for inconsistent code formatting and minor bugs. The docstrings provide essential details about the classes and methods, improving readability and understanding for other developers. Furthermore, the added type hinting will enable better IDE assistance, static analysis, and clarity on expected input and output types. Lastly, the code formatting fixes and bug fixes enhance the overall code quality and maintainability.
      ff409005
    • Florian Schröder's avatar
      Implement Fog of War feature in game environment · edf18fd8
      Florian Schröder authored
      Added a Fog of War option that if activated, restricts the player's view in the game environment. This feature is an attribute in the game state, view_restriction, and incorporated into the get_json_state method to return player's viewing direction and angle if Fog of War is enabled. Additionally, added view restriction handling in the gui_2d_vis drawing method.
      edf18fd8
  15. Jan 29, 2024
  16. Jan 25, 2024
    • Florian Schröder's avatar
      Update Overcooked simulator to support state export in JSON format · df234b9c
      Florian Schröder authored
      The update introduces a new function `get_json_state()` in overcooked_environment.py that exports the current game state in JSON format. Changes were made to player.py, counters.py, and game_items.py to include an additional `to_dict()` function which represents their current status as a dictionary. This commit also includes minor naming changes, such as renaming `beginning_time` to `start_time`.
      df234b9c
Loading