Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tutorial combining design patterns #10

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

lexlam1524
Copy link

Pull Request Description

Title: Add Tutorial on Design Patterns in Bee Game Codebase

Description:

This pull request introduces a comprehensive tutorial that explains the implementation of design patterns in the Bee Game codebase. The tutorial focuses on two key patterns: the Observer Pattern and the Mediator Pattern, illustrating how they enhance the code’s modularity, maintainability, and scalability.

Changes:

  • Added a detailed tutorial in Markdown format.
  • Explained the role of the Observer Pattern in managing interactions between the Player and Obstacle classes.
  • Described how the Mediator Pattern, implemented through the GameManager class, centralizes game logic and reduces dependencies.
  • Included code snippets to demonstrate the implementation and benefits of each pattern.
  • Discussed the interaction between both patterns and their impact on code organization.

Purpose:
The purpose of this tutorial is to provide insights into the architectural decisions made in the codebase, helping future developers understand how design patterns can be utilized effectively in game development.

Copy link

@AmberPotion AmberPotion left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please fix merge conflicts in order for the PR to be approved.

@lexlam1524
Copy link
Author

fixed conflict

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants