feat: add stand and get game features to blackjack game with animations #105
No reviewers
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
lgtm
blocked
lgtm
done
lgtm
need 1
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: SZUT/casino#105
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "task/CAS-50/add_rest_blackjack_logic_with_frontend_animations"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
task/CAS-50/add_rest_blackjack_logic_with_frontend_animationsto feat: add stand and get game features to blackjack game with animations@ -26,1 +26,4 @@
@Version
@JsonIgnore
private Long version;
what is this version even used for?
@ -21,1 +21,4 @@
@Version
@JsonIgnore
private Long version;
why version here as well
@ -49,11 +61,14 @@ export default class BlackjackComponent {
this.currentGameId.set(game.id);
this.currentBet.set(game.bet);
this.gameInProgress.set(game.state === 'IN_PROGRESS');
create enum for game states
@ -35,1 +87,4 @@
@Output() doubleDown = new EventEmitter<void>();
@Output() leave = new EventEmitter<void>();
calculateHandValue(cards: Card[]): number {
extract this into a service and all the other methods
@ -0,0 +1 @@
/* No custom styles needed */
just remove this file
@ -0,0 +1,22 @@
import { ComponentFixture, TestBed } from '@angular/core/testing';
remove this file its unnecisary
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.