Skip to content

[US-02] Alternating shooting with feedback

As a player I want to shoot at certain coordinates and get an indication whether the shot was a hit or miss, to find and destroy the other side’s ships.

The system is supposed to make sure that players take turns one after the other. The active player should be able to choose a coordinate on the enemy board, and the program should somehow report if that was a hit or a miss and note this result for both sides. Shots on the same place twice should normally not be allowed.

Acceptance points (roughly): – When firing at A1 for the first time, a message should appear showing hit or miss, and that field should become marked. – When the same field is targeted again, the shot should not go through, and the next player should then act. – After one shot cycle finishes, the control changes so that only the other player can continue.