- Mar 07, 2024
-
-
Fabian Heinrich authored
-
Fabian Heinrich authored
-
Fabian Heinrich authored
# Conflicts: # cooperative_cuisine/counters.py
-
Fabian Heinrich authored
-
Fabian Heinrich authored
-
Fabian Heinrich authored
-
Fabian Heinrich authored
-
Fabian Heinrich authored
-
Fabian Heinrich authored
-
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.
-
Fabian Heinrich authored
-
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.
-
- Mar 06, 2024
-
-
Fabian Heinrich authored
-
Fabian Heinrich authored
# Conflicts: # cooperative_cuisine/state_representation.py
-
Fabian Heinrich authored
-
Fabian Heinrich authored
-
Fabian Heinrich authored
-
Fabian Heinrich authored
-
Fabian Heinrich authored
-
Fabian Heinrich authored
-
Fabian Heinrich authored
Better management of when keyboard or controller button to continue is pressed. Updated thank you screen.
-
Fabian Heinrich authored
-
- Mar 05, 2024
-
-
Fabian Heinrich authored
-
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.
-
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.
-
Florian Schröder authored
-
Florian Schröder authored
-
Florian Schröder authored
-
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.
-
Florian Schröder authored
Improved the clarity and precision of language used in the CHANGELOG.md file. Specifically, this includes modifying ambiguous sentences and rectifying grammatically incorrect sentences to enhance overall readability.
-
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.
-
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.
-
Florian Schröder authored
Merge branch '102-too-large-number-of-selected-players-does-not-break-the-gui-and-environment' into 'main' Resolve "Too large number of selected players does not break the gui and environment" Closes #102 See merge request scs/cocosy/overcooked-simulator!72
-
Florian Schröder authored
Merge remote-tracking branch 'origin/main' into 102-too-large-number-of-selected-players-does-not-break-the-gui-and-environment # Conflicts: # cooperative_cuisine/study_server.py
-
Florian Schröder authored
The setup.py file has been modified to require a more up-to-date version of the pydantic package. It has been updated from version 2.5.3 to 2.6.3.
-
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.
-
Fabian Heinrich authored
-
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.
-
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.
-
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.
-