added more places to look at state pattern

This commit is contained in:
sirlilpanda
2025-09-02 13:19:54 +12:00
parent 1104b011e8
commit baf20d5cc3

View File

@@ -137,6 +137,10 @@ now that you have implement this basic state pattern your tech lead comes to you
so try implementing this yourself. so try implementing this yourself.
other good resources for learning how this patterns works is [bob nystrom gameprogrammingpatterns](https://gameprogrammingpatterns.com/state.html) as well as [refactoring Guru](https://refactoring.guru/design-patterns/state) however both of these implement this in the fun languages with object and interfaces.
# how to build and run it # how to build and run it
this demo uses a simple build system called [nob](https://github.com/tsoding/nob.h) a header only build system for c projects. this demo uses a simple build system called [nob](https://github.com/tsoding/nob.h) a header only build system for c projects.