---
title: "Discussion on \"Golang - State Pattern\" | Hashnode"
description: "Discussion on \"Golang - State Pattern\". In this article, we will be exploring how the State Pattern can be applied to a game in Golang. We will use a simple game where the player can move in different directions and perform different actions based on their current state.\nWhat is the State ..."
url: "https://hashnode.com/posts/golang-state-pattern/64204ead2b285a14e7727d1d"
---

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

Discussion

# [Golang - State Pattern](https://blog.matthiasbruns.com/golang-state-pattern?utm_source=hashnode&utm_medium=feed)

In this article, we will be exploring how the State Pattern can be applied to a game in Golang. We will use a simple game where the player can move in different directions and perform different actions based on their current state. What is the State ...

Mar 26, 2023 · 3 min read · blog.matthiasbruns.com  
Read the article

-   [#golang](https://hashnode.com/tag/golang)
-   [#go](https://hashnode.com/tag/go)
-   [#design-patterns](https://hashnode.com/tag/design-patterns)
-   [#patterns](https://hashnode.com/tag/patterns)
-   [#tutorial](https://hashnode.com/tag/tutorial)

## Written by

[Matthias Bruns](https://hashnode.com/@matthiasbruns)

@matthiasbruns · Rhede, Germany

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

Freelancer Backend & Technical Lead; Founder of Happy Ann

Senior Freelancer &amp; Technical Lead Working as a Golang developer since 2020. Working as a mobile developer since 2013. Focussed on architecture, testability and clean code. Open minded &amp; product driven. Based in Rhede, available world-wide

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
