Hacker News new | ask | show | jobs
by 0xabe 1354 days ago
Game Programming Patterns by Robert Nystrom has a chapter on state machines. It’s both freely available online or for purchase if you really like it and want to support him.

http://gameprogrammingpatterns.com/state.html