State Machines in Game Development
generalistprogrammer.com