-
- Downloads
Refactor code for clarity and type hinting
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.
Showing
- cooperative_cuisine/action.py 16 additions, 0 deletionscooperative_cuisine/action.py
- cooperative_cuisine/counters.py 45 additions, 14 deletionscooperative_cuisine/counters.py
- cooperative_cuisine/effects.py 1 addition, 1 deletioncooperative_cuisine/effects.py
- cooperative_cuisine/state_representation.py 1 addition, 1 deletioncooperative_cuisine/state_representation.py
Loading
Please register or sign in to comment