- Mar 08, 2024
-
-
Fabian Heinrich authored
-
- Mar 07, 2024
-
-
Fabian Heinrich authored
-
Fabian Heinrich authored
-
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
-
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
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
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.
-
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
-
Fabian Heinrich authored
-
Fabian Heinrich authored
-
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.
-
Fabian Heinrich authored
-