# Exercises - Design Patterns

**URL:** <https://forum.codewithmosh.com/t/exercises-design-patterns/24114>\
**Category:** Design Patterns\
**Created:** [December 14, 2023, 4:23am UTC](https://forum.codewithmosh.com/t/exercises-design-patterns/24114 "2023-12-14T04:23:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Seahlolo](https://avatars.discourse-cdn.com/v4/letter/s/8e7dd6/32.png) [@Seahlolo](https://forum.codewithmosh.com/u/Seahlolo)\
**Post date:** [December 14, 2023, 4:23am UTC](https://forum.codewithmosh.com/t/exercises-design-patterns/24114/1 "2023-12-14T04:23:17Z")

</div>

I am struggling to find these exercise projects, where are they located?

Exercise In the Exercises project, look at the strategy/ChatClient class. This class uses an encryption algorithm to encrypt a message before sending it out. What are the problems in this implementation? Refactor the code using the strategy pattern. What are the benefits of the new implementation?

---

<div class="post-metadata">

**Author:** ![JerryHobby](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/jerryhobby/32/5370_2.png) [@JerryHobby](https://forum.codewithmosh.com/u/JerryHobby)\
**Post date:** [December 18, 2023, 11:41pm UTC](https://forum.codewithmosh.com/t/exercises-design-patterns/24114/2 "2023-12-18T23:41:08Z")

</div>

Not sure – but maybe you can find them here: [mosh-hamedani (mosh-hamedani) / Repositories · GitHub](https://github.com/mosh-hamedani?tab=repositories)
