- Aug 20, 2024
-
-
Fabian Heinrich authored
-
- Mar 15, 2024
-
-
fheinrich authored
-
Fabian Heinrich authored
- added function for calculating a graph with possible movements - used astar on this graph for the random agent
-
- Mar 09, 2024
-
-
Florian Schröder authored
Various changes have been made in the codebase to improve readability and maintainability. Type hints have been added to the functions and variables for better understanding of the datatypes. Refactoring of some code segments has also been done to make the code more concise and readable. The 'EffectType', 'ItemType' enumerations have been enriched with docstrings for better understanding of the enums. Certain classes have been updated to better follow the single responsibility principle.
-
Florian Schröder authored
The 'player_config' dictionary is replaced with the PlayerConfig class to provide type-checking and improve readability. This change is applied across different files in the 'cooperative_cuisine' module. Additionally, this commit improves type hints for several variables and parameters to assist with code interpretation and potential error prevention.
-
- Mar 08, 2024
-
-
Fabian Heinrich authored
-
- Mar 07, 2024
-
-
Florian Schröder authored
Added docstrings to constructors of several classes in various modules to improve code readability and maintainability. Also, explicit type hints were provided for the fields in these classes aiding in better understanding of the data types used across the codebase.
-
Fabian Heinrich authored
-
- Mar 05, 2024
-
-
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.
-
- Feb 29, 2024
-
-
Florian Schröder authored
This commit introduces a new Movement class which handles player movements, collisions, and interactions with counters in the 'cooperative_cuisine' environment. The commit also includes necessary changes to related configurations and adjustments in the 'environment.py' and 'player.py' files to accommodate the introduction of this new class. This encapsulation enhances readability, promotes code organization, and adheres to the principle of Single Responsibility.
-