debiantarte / feudal-overlords

A game about conquering territories and vassalize their Lords to achieve one's ends.
1 stars 0 forks source link

Implement adjacency for attacks #23

Closed matthias4217 closed 5 years ago

debiantarte commented 5 years ago

i think it's done ?

debiantarte commented 5 years ago

It would be better with an adjacency graph to detect adjacency in an accurate way

matthias4217 commented 5 years ago

So now we've got an adjacency list !

debiantarte commented 5 years ago

So at this point we use first delaunay triangulation to detect adjacent territories and use the old rectangles-based detection, because on the edges there were some weird bugs related to the fact that the voronoi diagram is virtually "infinite"

debiantarte commented 5 years ago

looks done