-
- Downloads
Add Movement class for handling player and counter interactions
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.
parent
2aca985b
No related branches found
No related tags found
Showing
- cooperative_cuisine/__init__.py 2 additions, 1 deletioncooperative_cuisine/__init__.py
- cooperative_cuisine/configs/agents/random_agent.py 2 additions, 0 deletionscooperative_cuisine/configs/agents/random_agent.py
- cooperative_cuisine/configs/environment_config.yaml 1 addition, 1 deletioncooperative_cuisine/configs/environment_config.yaml
- cooperative_cuisine/configs/study/level1/level1_config.yaml 1 addition, 1 deletioncooperative_cuisine/configs/study/level1/level1_config.yaml
- cooperative_cuisine/configs/study/level2/level2_config.yaml 1 addition, 1 deletioncooperative_cuisine/configs/study/level2/level2_config.yaml
- cooperative_cuisine/configs/study/study_config.yaml 2 additions, 2 deletionscooperative_cuisine/configs/study/study_config.yaml
- cooperative_cuisine/configs/tutorial_env_config.yaml 1 addition, 1 deletioncooperative_cuisine/configs/tutorial_env_config.yaml
- cooperative_cuisine/counter_factory.py 127 additions, 1 deletioncooperative_cuisine/counter_factory.py
- cooperative_cuisine/environment.py 27 additions, 347 deletionscooperative_cuisine/environment.py
- cooperative_cuisine/movement.py 181 additions, 0 deletionscooperative_cuisine/movement.py
- cooperative_cuisine/player.py 1 addition, 1 deletioncooperative_cuisine/player.py
- cooperative_cuisine/reinforcement_learning/environment_config_rl.yaml 1 addition, 1 deletion...cuisine/reinforcement_learning/environment_config_rl.yaml
- cooperative_cuisine/reinforcement_learning/gym_env.py 5 additions, 1 deletioncooperative_cuisine/reinforcement_learning/gym_env.py
- tests/test_start.py 7 additions, 7 deletionstests/test_start.py
Loading
Please register or sign in to comment