AngelStreet
Showing posts with label Tutorials. Show all posts
Showing posts with label Tutorials. Show all posts

Finite Machine State for gaming

I have made my first tutorial on the topic Finite Machine State. I tried to apply this concept to simple gaming examples. FSM are mainly used for AI but could also be used for other stuff such sa organising game workflow. Just a tricky example with the famous puzzle game Wolf, Sheep & Cabbage.
Rules are simples, you have to help aman in aboat to move the wolf, the sheep and the box of cabbage to the other side of the lake. You can only bring one of these with you at a time. It is very important to note that the unguarded wolf will eat the sheep and the unguarded sheep will eat the cabbage, when the man isn’t around.Without saying more I can tell you that FSM can help you create this king of brain game.


French version available on Mediabox.