-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
The redesign using the Strategy pattern primarily improves the flexibility and scalability of the code, as it allows adding or changing movement selection algorithms without affecting other parts of the system. However, this modularity introduces initial complexity by requiring the creation of an interface and multiple concrete strategy classes. This may slightly increase development and maintenance time for small projects, but in the long run, it simplifies the implementation of new features, allows for individual unit testing of each strategy, and enhances adaptability to future requirements, such as adjustable difficulty levels or more complex algorithms like Minimax.






Metadata
Metadata
Assignees
Labels
No labels