thsergitox / tank-turn-game

0 stars 0 forks source link

Aim and Fire #3

Closed A-PachecoT closed 1 week ago

A-PachecoT commented 1 week ago

As a player
I need to adjust my firing angle and power, then fire at enemy tanks
So that I can damage them and eventually destroy them

Details and Assumptions

Acceptance Criteria

Given it is my turn
When I set the firing angle to <angle> degrees
And I set the firing power to <power> percent
And I choose to fire
Then a projectile should be launched from my tank
And the projectile's initial trajectory should match the specified angle and power
And the projectile's path should be influenced by the current wind conditions
And the projectile should damage enemy tanks it hits

Examples:
  | angle | power |
  | 45    | 75    |
  | 60    | 50    |