feat: add stand and get game features to blackjack game with animations #105

Merged
jleibl merged 22 commits from task/CAS-50/add_rest_blackjack_logic_with_frontend_animations into main 2025-04-02 08:28:43 +00:00
5 changed files with 4 additions and 4 deletions
Showing only changes of commit defe26d0c1 - Show all commits

View file

@ -12,7 +12,7 @@ import { Card, BlackjackGame } from './models/blackjack.model';
import { BlackjackService } from './services/blackjack.service';
import { HttpErrorResponse } from '@angular/common/http';
import { GameResultComponent } from './components/game-result/game-result.component';
import { GameState } from '../../../enum/gameState';
import { GameState } from './enum/gameState';
@Component({
selector: 'app-blackjack',

View file

@ -1,7 +1,7 @@
import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';
import { CommonModule } from '@angular/common';
import { Card } from '../../models/blackjack.model';
import { GameState } from '../../../../../enum/gameState';
import { GameState } from '../../enum/gameState';
import { GameControlsService } from '../../services/game-controls.service';
@Component({

View file

@ -1,7 +1,7 @@
import { ChangeDetectionStrategy, Component, Input, Output, EventEmitter } from '@angular/core';
import { CommonModule, CurrencyPipe } from '@angular/common';
import { animate, style, transition, trigger } from '@angular/animations';
import { GameState } from '../../../../../enum/gameState';
import { GameState } from '../../enum/gameState';
@Component({
selector: 'app-game-result',

View file

@ -1,6 +1,6 @@
import { Injectable } from '@angular/core';
import { Card } from '../models/blackjack.model';
import { GameState } from '../../../../enum/gameState';
import { GameState } from '../enum/gameState';
@Injectable({
providedIn: 'root',