added more places to look at state pattern
This commit is contained in:
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user