Skip to content

Create basic combat system (unit vs unit)

Objective

Implement core combat mechanics allowing units to attack each other, providing the fundamental interaction for MVP gameplay.

Requirements

  • Attack Range: Units engage enemies within attack range
  • Damage System: Units deal and receive damage based on stats
  • Combat Resolution: Handle attack timing and damage application
  • Target Priority: Units select appropriate targets automatically

Technical Details

  • Implement unit attack range detection
  • Create damage calculation and application system
  • Add combat timing and cooldown mechanics
  • Handle target selection and acquisition
  • Implement combat state management
  • Add combat feedback and effects

Acceptance Criteria

  • Units automatically attack enemies within range
  • Damage is calculated and applied correctly
  • Combat timing feels responsive and balanced
  • Units switch targets appropriately when current target is destroyed
  • Combat state is synchronized across all clients

Milestone Relation

Core MVP gameplay mechanic. Enables actual combat between player and AI forces, completing the basic game loop.