iivchenko / tower-defense-sandbox

Yet another project to learn game development and functional paradigm.
MIT License
1 stars 0 forks source link

Improve Turret AI #37

Open iivchenko opened 4 years ago

iivchenko commented 4 years ago

Well I think about some sort of State Machine algorithm to make the turret code more pattern but who know may be some other algorithm will be much batter.

Turret states:

transition condition from search to fire will be a sort of decision tree which will identify suitable target.