Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Classical Chess #13

Closed
ecattez opened this issue Jan 17, 2020 · 0 comments · Fixed by #14
Closed

Feature: Classical Chess #13

ecattez opened this issue Jan 17, 2020 · 0 comments · Fixed by #14
Labels

Comments

@ecattez
Copy link
Owner

ecattez commented Jan 17, 2020

Feature: Classical Chess

Scenario: a classical board game initialization

GIVEN a classical chess game
WHEN the board is initialized
THEN a white rook is in A1
AND a white knight is is B1
AND a white bishop is in C1
AND a white queen is in D1
AND a white king is in E1
AND a white bishop is in F1
AND a white knight is in G1
AND a white rook is in H1
AND a white pawn is in A2
AND a white pawn is in B2
AND a white pawn is in C2
AND a white pawn is in D2
AND a white pawn is in E2
AND a white pawn is in F2
AND a white pawn is in G2
AND a white pawn is in H2
AND a black rook is in A8
AND a black knight is is B8
AND a black bishop is in C8
AND a black queen is in D8
AND a black king is in E8
AND a black bishop is in F8
AND a black knight is in G8
AND a black rook is in H8
AND a black pawn is in A7
AND a black pawn is in B7
AND a black pawn is in C7
AND a black pawn is in D7
AND a black pawn is in E7
AND a black pawn is in F7
AND a black pawn is in G7
AND a black pawn is in H7
AND the board is ready to play with

Scenario: a board already initialized can not be initialized again

GIVEN a classical chess game
AND the board is already initialized
WHEN the board is initialized
THEN the initialization is refused
@ecattez ecattez changed the title Feature: Classical Chess / Board Initialization Feature: Classical Chess Jan 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant