Skip to content
Snippets Groups Projects
  1. Mar 08, 2024
  2. Mar 07, 2024
  3. Mar 06, 2024
  4. Mar 05, 2024
    • Fabian Heinrich's avatar
      More docstrings · 513c5fdb
      Fabian Heinrich authored
      513c5fdb
    • Florian Schröder's avatar
      Add new shades of gray to game_colors · ed07baa5
      Florian Schröder authored
      This update adds several darker shades of gray (from GRAY2 to GRAY9) to the game_colors file. These additions provide more color options for game elements, ensuring a better visual experience for users. The color values have been moved for improved organization and readability.
      ed07baa5
    • Florian Schröder's avatar
      Add color preview using HTML in game_colors.py · e35b36ee
      Florian Schröder authored
      Added HTML color preview comments for each color constant in the game file. This should provide better visualization during code read-throughs, aiding in understanding and debugging process. Replaced generic color name in the blue color preview with the specific hex value.
      e35b36ee
    • Florian Schröder's avatar
      Update game_colors.py · 5beb357a
      Florian Schröder authored
      5beb357a
    • Florian Schröder's avatar
      Update game_colors.py · df9fdf5e
      Florian Schröder authored
      df9fdf5e
    • Florian Schröder's avatar
      Update game_colors.py · c4815da4
      Florian Schröder authored
      c4815da4
    • Florian Schröder's avatar
      Change action type from PUT to PICK_UP_DROP · 45f0d5e6
      Florian Schröder authored
      In the cooperative_cuisine/__init__.py, the action_type in the action object is updated to PICK_UP_DROP from its previous value PUT. This change accommodates a need for more specific player actions.
      45f0d5e6
    • Florian Schröder's avatar
      Remove unused variable and add docstrings in environment.py · 2e5ef1e2
      Florian Schröder authored
      The PAUSED variable, which was unused, has been removed from the codebase to improve readability. Docstrings were added to multiple existing methods and instance variables in the environment.py file for better understanding of their functionalities. This change will make it easier for developers to understand the purpose and usage of the various methods and variables, ultimately smoothing the development process.
      2e5ef1e2
    • Florian Schröder's avatar
      Update PUT action to PICK_UP_DROP · 7c31d0ac
      Florian Schröder authored
      The ActionType.PUT has been replaced with ActionType.PICK_UP_DROP across all instances in the codebase. This change aligns the action name with its actual function, making the action more intuitive and the code easier to understand. This update also includes minor modifications in comments and function arguments to reflect the new action name.
      7c31d0ac
    • Florian Schröder's avatar
      Refactor comments and organize default server settings · e8585344
      Florian Schröder authored
      The comments in various class definitions and methods across the code were reorganized to provide better clarity and readability. The handling of server default values has been centralized in utils.py for cleaner code and easier modifications in the future.
      e8585344
    • Fabian Heinrich's avatar
      Docstrings · 18ce03fa
      Fabian Heinrich authored
      18ce03fa
    • Florian Schröder's avatar
      Add docstrings and minor adjustments to cooperative_cuisine · 5a9b4874
      Florian Schröder authored
      This commit adds detailed docstrings for various methods and classes in the 'cooperative_cuisine' module for enhanced code understanding. Also includes minor changes to the .gitlab-ci.yml and pygame_2d_vis/__init__.py files and adds an image in the docs markdown file. Code readability and maintainability improved with these changes.
      5a9b4874
    • Florian Schröder's avatar
      Update .gitignore, .gitlab-ci.yml, player.py · a96a9cbb
      Florian Schröder authored
      Added 'generated' to .gitignore, updated pdoc footer text in .gitlab-ci.yml, and included interaction state for player in player.py. The player interaction with the counter is now being tracked and a new comment was added for the progress method. This will enhance player's tracking and usage in the game environment.
      a96a9cbb
    • Florian Schröder's avatar
      Update code comments and typespecs across modules · bef24476
      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.
      bef24476
    • Florian Schröder's avatar
      Update CI script and game configurations · f536d40e
      Florian Schröder authored
      Changed the pdoc execution command in the .gitlab-ci.yml to fix the link in the footer text. Adjustments were also made to the layout of the game in the basic.layout and __init__.py files, along with the game, player, and effect configurations. The player speed was reduced, the ability to undo dispenser pickup was added, and the effect
      f536d40e
    • Fabian Heinrich's avatar
Loading