uprm-inso4116-2024-2025-s1 / semester-project-multiplayer-dominoes

semester-project-multiplayer-dominoes created by GitHub Classroom
9 stars 0 forks source link

[Lecture Topic Task] What SOLID Principles apply to the Bot Classes #304

Closed fernandopizarro1 closed 18 hours ago

fernandopizarro1 commented 3 weeks ago

This topic is meant to explore how software design principles can be applied to develop adaptable, maintainable AI bots in a multiplayer domino game. By following the SOLID principles—Single Responsibility, Open-Closed, Liskov Substitution, and Dependency Inversion—each bot’s behavior can be modularized, making it easier to add features or adjust strategies without disrupting the rest of the game. Additionally, patterns like the Strategy Pattern allow bots to switch between different gameplay tactics dynamically, while Test-Driven Development (TDD) helps ensure reliable performance through iterative testing. Together, these principles create a flexible and scalable bot system, enhancing gameplay and making future improvements easier to implement.

fernandopizarro1 commented 4 days ago

This can be found in the milestone 3 documentation, under the section 4.13.1: https://docs.google.com/document/d/16JWl_dXbHArb5V8-UmIO0Z7dAHTrwcfmdk2KTgEJo9c/edit?tab=t.0#heading=h.jd39spp90smb