This project was for a school project where we had freedom to make a Finite State Machine for an AI moving using steering behaviours, both for the villager and a very basic enemy in the simulation.
The project isn't game ready but it was to practice with simulation of a villager in a village and using a Finite State Machine for AI decisions.
I definitely over scoped this project a little bit making my code not perfect but I'm still happy with the result of the project.
I haven't made this simulation build friendly but the project files can be found down below on my Github.
This project was made using the Unity engine and the C# language.
I was alone for this project.
I spent roughly 9 days on this project.
I used a Finite State Machine for the AI logic. Both for the villager and the enemy.
For the villagers I made I used the flyweight pattern for their values that didn't change.