In order to start a game As a user I want to join the game
Given "Jessica" user and a game without players When "Jessica" joins the game Then game's player list is "Jessica"
Given "Robert" user and a game with "Jessica" When "Robert" joins the game Then game's player list is "Jessica", "Robert"
Given "Patricia" user and a game with "Jessica", "Robert" When "Patricia" joins the game Then An error is raised and game's player list is still "Jessica", "Robert"
In order to try to win the game As a player I want to play a turn
Given
- a game with "Jessica", "Robert"
- no shot has been played
- it's "Jessica"'s turn to play When "Jessica" plays in first column Then
- first column contains one "Jessica"'s disc
- all other columns are empties
- it's "Robert"'s turn to play
Given
- a game with "Jessica", "Robert"
- no shot has been played When "Robert" plays in first column Then
- an error is raised
- all columns are empties
- it's still "Jessica"'s turn to play