Hi, I wanna implement grid based combat.
If it isn't clear I will provide drawings.
I'll just make the example grids 1xN:
Letters are tiles
Letters with * on top are occupied by units
Scenario 1)
A* B C*
A* and C* want to move to B, they fight
Scenario 2)
A* B*
A* wants to move to B and viceversa, they fight midway
More scenarios tackle more creature but let's say that the fight has starts first for creature on the same axis