I am trying to build a board game … And looks like it has to be implemented using a state machine..
I know of the State pattern from GoF, but I am sure there must be other ways to implement state machine. Please let me know.. if you know of any articles or books that contains details about different implementation (trade off of each of them), please direct me.. thanks
Check out Ragel.