In this tutorial we will be making a simple pac man game in visual studio with Windows form and C#. In this game we will control pac man in 4 different directions. Up, down, left and right. In the ...
Our objective for this tutorial is to make our Finite State Machine generic by using a generic identifier for the state type. There are several ways you can implement a finite state machine using C#.