State machine AI + pathfinding - python
Programming task for the AI course, we had to implement a simple game with FSM AI, pathfinding, and random map generation. Python and PyGame were used in this case.
Wrote a simple and classic game loop that updates and render the game:
Even if being a simple game, tried to keep each logic separate and neat. The game entity had some simple methods, including the update and render methods which draws everything in the world:
All this logic could be easily be used in some other engine for generating maps and enemy AI. Visually it doesn't look so good, but focus was on the logic. Here's the result:
Comments
Post a Comment