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

Fix card behavior on game board #58

Open
OriginalUtkin opened this issue Jan 30, 2021 · 1 comment
Open

Fix card behavior on game board #58

OriginalUtkin opened this issue Jan 30, 2021 · 1 comment
Assignees
Milestone

Comments

@OriginalUtkin
Copy link
Owner

For now, card's behavior is the same either on battlefield or hand: it could be moved wherever it is possible. In #57 states were implemented for cards however Received state contains only logs for now. This behaviour should be adjusted and implementation is needed there.

Criteria: All method from IState pattern are implemented (or at least defined how it should be implemented) and card isn't movable once it is placed on table.

@OriginalUtkin OriginalUtkin self-assigned this Jan 30, 2021
@OriginalUtkin OriginalUtkin added this to To do in Board game planning via automation Jan 30, 2021
@OriginalUtkin OriginalUtkin added this to the Game process milestone Jan 30, 2021
@OriginalUtkin OriginalUtkin moved this from To do to In progress in Board game planning Jan 30, 2021
@OriginalUtkin OriginalUtkin moved this from In progress to To do in Board game planning Jan 30, 2021
@OriginalUtkin
Copy link
Owner Author

Also, when card is added on battlefield, other cards should be shifter either left or right side (depends on where car has been put): card was put at left side of existing one, move other card to right and vice versa

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

1 participant