ledpup / StrategyGame

2 stars 0 forks source link

AI improvement - using influence maps and A* better #28

Closed ledpup closed 7 years ago

ledpup commented 7 years ago

Units with little few movement points can often make poor movement decisions because they don't consider enough options. Instead of making a move decision based on the moves that can be made that turn, instead:

ledpup commented 7 years ago

To find hexes in a radius, use:

image

ledpup commented 7 years ago

Done: method to discover the hexes within an area.

ledpup commented 7 years ago

Done: ordered influence maps + best possible destination TODO: unit move to best possible destination