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

[DPM-849] prohibit additional deposits by default #23

Merged
merged 5 commits into from
Nov 6, 2020

Conversation

alrxy
Copy link
Contributor

@alrxy alrxy commented Nov 3, 2020

No description provided.

@alrxy alrxy requested review from justefg and algys November 3, 2020 11:18
tests/blackjack_tests.cpp Outdated Show resolved Hide resolved
@alrxy alrxy requested a review from justefg November 3, 2020 14:11
@@ -331,7 +331,7 @@ void blackjack::on_random(uint64_t ses_id, checksum256 rand) {
}
send_game_message(std::vector<param_t>{player_card.get_value()});
update_state(state_itr, game_state::require_play);
require_action(action::play);
require_action(action::play, true);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what if player hits and loses

and then he wants to double down with splitted cards?

@alrxy alrxy requested a review from justefg November 5, 2020 15:15
@justefg justefg merged commit 4ca52ee into master Nov 6, 2020
@justefg justefg deleted the dpm-849-prohibit-additional-deposit-by-default branch November 6, 2020 08:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants