Skip to content

Stories

sayima edited this page Feb 15, 2018 · 9 revisions

Pre-Setup

Create a new game

As a Player,
I want to create a new game,
So that I can play with my chosen opponent

Acceptance Criteria :

  • Scenario : Player wants to create a new game.

Given I’m on play game page,
When I click on create game,
Then I should get my own new game

  • Scenario: Player wants a key so that he can share it with his friend.

Given I’m on play game page,
When I click on create game,
Then I should get a key to share it with my friend and ask him to join


As a Player,
I want to know whether my opponent has joined game,
So that I will start placing my army.

Acceptance Criteria :

  • Scenario : Player wants to know his opponent status of join

Given I’m on play game page,
When I click on create game,
Then I can know whether my opponent has joined game or not


Join an existing game

As a Player,
I want to join an existing game,
So that I can play the game with my chosen friend

Acceptance Criteria :

  • Scenario : Player wants to join an existing game.

Given I’m on play game page and a game is already been created,
When I click on join game,
Then I can enter a key and join the game


Help

As a Player,
I want help page about game,
So that I can know rules and info about game

Acceptance Criteria :

  • Scenario : Player wants to know rules of game.

Given I’m on landing game page,
When I click on Help option,
Then I can see the documentation of game


Set-Up Phase

View the grid

As a Player,
I want to see the grid,
so that I will place my army.

Acceptance Criteria :

  • Scenario: Player wants to see his homeland

Given I’m on create game page,
When my friend joins the game,
Then I want to see my homeland

  • Scenario: Player wants to see his homeland

Given I’m on join game page,
When I click on start battle,
Then I want to see my homeland


As a Player,
I want to see my army,
so that I will set my field.

Acceptance Criteria :

  • Scenario: Player wants to see his army base

Given I’m on create game page,
When my friend joins the game,
Then I want to see my army base

  • Scenario: Player wants to see his army base

Given I’m on join game page,
When I click on start battle,
Then I want to see my army base


As a Player,
I want to see details or specification of my playing pieces,
So that I can come up with a strategy to deploy them.

Acceptance Criteria

  • Scenario: Player wants to see his playing piece details

Given I’m on create game page,
When my friend joins the game,
Then I want to see my playing piece details

  • Scenario: Player wants to see his playing piece details

Given I’m on join game page,
When I click on start battle,
Then I want to see my playing piece details


Deploy army on battlefield

As a Player,
I want to drag and drop a piece on homeland,
so that I can place my piece.

Acceptance Criteria :

  • Scenario: Player wants to place a piece on homeland

Given I’m on setup page,
When I drag a piece from army base and drop it on homeland,
Then I will be able to put it on battlefield


As a Player,
I want to deploy the whole army,
so that I can start the game.

Acceptance Criteria :

  • Scenario: Player wants to deploy his whole army

Given I’m on setup page deployed a piece on homeland
When I deploy all the pieces
Then I must be able to click the ready button

  • Scenario : Player wants to start the battle

Given I’m on setup page and have deployed my whole army on homeland,
When I click on the Ready button.
Then I want to see the whole battlefield


As a Player,
I want to select a deployed piece,
so that I can remove it from the battlefield.

Acceptance Criteria :

  • Scenario: Player wants to remove a piece from battlefield

Given I’m on setup page and I have deployed few playing pieces on battlefield,
When I drag a piece from homeland and drop it on army base,
Then the piece should be removed from homeland

  • Scenario: Player wants to remove a piece from battlefield

Given I’m on setup page and I have deployed few playing pieces on battlefield,
When I drag a piece from homeland and I don't drop it on army base,
Then the piece should go back to its position on homeland


As a Player,
I want to select one piece,
so that I can swap it with another selected piece.


Get ready for battle

As a Player,
I want to announce that I’m ready,
so that game can be started.

Acceptance Criteria :

  • Scenario: Player wants to announce that he is ready

Given I’m on setup page and I have setup my army and my opponent is ready,
When I click on ready button,
Then the battle must be started

  • Scenario: Player wants to announce that he is ready

Given I’m on setup page and I have setup my army,
When I click on ready button,
Then I have to wait if my opponent is not ready


As a Player,
I want to see opponents status of ready,
so that game can be started.

Acceptance Criteria :

  • Scenario: Player wants to know whether opponent is ready

Given I’ m completed my setup and opponent is not ready,
When I click on ready button,
Then I should know my opponent is not ready

Playing Phase

View the complete battlefield

As a Player,
I want to see the whole battlefield,
so that I can make my move.

Acceptance Criteria :

  • Scenario: Player wants to see the whole battlefield

Given I am on setup page and have deployed my whole army on my homeland,
When I click on Ready,
Then I will see the whole battlefield

Given I am on setup page and have deployed my whole army on my homeland,
When I click on Ready,
Then I will see the whole battlefield and my army on it so that I will make my move

Given I am on setup page and have deployed my whole army on my homeland,
When I click on Ready,
Then I will see the whole battlefield and opponent army’s location


Update Battlefield

As a player,
I want to see the opponents moves,
So that I can plan my move.

Acceptance Criteria :

  • Scenario: Player wants to see his opponent movements on battlefield

Given the game has started,
When my opponents make a move of his playing piece,
Then my opponents playing piece moves to that location


As a player,
I want to see my moves,
So that I can continue my strategy

Acceptance Criteria :

  • Scenario: Player wants to see his movements on battlefield

Given the game has started,
When I make a move of my playing piece,
Then my playing piece moves to that location


Move a playing piece

As a Player,
I want to select a piece from field,
so that I will be able to move it.

Acceptance Criteria :

  • Scenario: Player wants to select a piece to move it

Given that the game has started and it is my turn to make a move,
When I click on a piece,
Then I will be able to move it


As a Player,
I want to move my selected piece to a potential location,
so that I can continue with my strategy.

Acceptance Criteria :

  • Scenario: Player wants to move his playing piece

Given it is my turn and I have selected a piece,
When I click on one of my potential positions,
Then my selected playing piece moves there

Given it is my turn and I have selected a piece,
When I click on an invalid position,
Then my selected should not move there


As a player
I want to know who’s turn it is,
So that I know whether I have to play my turn or wait for the opponent to finish.

Acceptance Criteria :

  • Scenario: Player wants to know his play turn

Given I’m playing,
When it is my turn,
Then I have to know it is my turn

  • Scenario: Player wants to know opponent's playing turn

Given I’m playing,
When it is opponent’s turn,
Then I have to know it is opponent’s turn


Attack

As a player,
I want to attack opponent’s piece,
So that I will kill the opponent’s piece

Acceptance Criteria :

  • Scenario: Player wants to attack an opponent’s playing piece

Given I have selected a playing piece,
When I attack opponent’s piece,
Then if it is of lower rank than my playing piece I should kill it

Given I have selected a playing piece,
When I attack opponent’s piece,
Then if it is of higher rank than my playing piece I will be killed

Given I have selected a playing piece,
When I attack opponent’s piece,
Then if it is of the same rank than my playing piece and opponent’s playing piece both are killed


Winning condition

As a Player,
I want to attack on (capture) flag,
so that I can win the game.

Acceptance Criteria :

  • Scenario: Player wants to win the game

Given that I have selected my piece,
When I attacked opponent’s flag,
Then I win the game


As a Player,
I want to kill opponent’s last moving piece,
so that I can so that I can win the game.

Acceptance Criteria :

  • Scenario: Player wants to win the game

Given that I have selected my piece,
When I killed opponent’s last moving piece,
Then I win the battle


As a Player,
I want to be notified about my victory,
so that I can celebrate my victory.

Acceptance Criteria :

  • Scenario: Player wants to be notified about his victory

Given the battle is going on,
When I win the battle,
I want to be notified about my victory

Losing Condition

As a Player,
I want to be notified as I lost the game,
So that I can quit the game or try another game

Acceptance Criteria :

  • Scenario: Player wants to be notified about his defeat

Given the battle is going on,
When I lose the battle,
I want to be notified about my defeat


Draw(tie) battle condition

As a Player,
I want to notify as Game draw,
So that I can quit the game or try another game

Acceptance Criteria :

  • Scenario: Player wants to be notified when the game is drawn

Given the battle is going on,
When me and my opponent both lose its last moving pieces,
Then I want to be notified that the game is drawn


Clone this wiki locally