---
title: "Discussion on \"Strategy Pattern\" | Hashnode"
description: "Discussion on \"Strategy Pattern\". The problem\nLet's begin learning this design pattern by asking a very fundamental question - Why?\nConsider a problem in which you are building a video game which has a hero in it. The hero has a weapon and can use it. Initially your game has only a m..."
url: "https://hashnode.com/posts/strategy-pattern/632cb003e06c24f9f23a52cc"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Strategy Pattern](https://refcell.hashnode.dev/strategy-pattern?utm_source=hashnode&utm_medium=feed)

The problem Let's begin learning this design pattern by asking a very fundamental question - Why? Consider a problem in which you are building a video game which has a hero in it. The hero has a weapon and can use it. Initially your game has only a m...

Sep 22, 2022 · 3 min read · refcell.hashnode.dev  
Read the article

-   [#rust](https://hashnode.com/tag/rust)
-   [#design-patterns](https://hashnode.com/tag/design-patterns)

## Written by

[Dylan Dsouza](https://hashnode.com/@nullbit)

@nullbit

  
[View profile](https://hashnode.com/@nullbit)

A problem solver

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
