From 201b305fe0dc002b2df4f6658a390075c1aee834 Mon Sep 17 00:00:00 2001
From: Phan Huy Tran
Date: Wed, 7 May 2025 14:27:36 +0200
Subject: [PATCH] feat: add starting stuff
---
frontend/src/app/feature/game/slots/slots.component.ts | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/frontend/src/app/feature/game/slots/slots.component.ts b/frontend/src/app/feature/game/slots/slots.component.ts
index cbf2cc8..19ffb57 100644
--- a/frontend/src/app/feature/game/slots/slots.component.ts
+++ b/frontend/src/app/feature/game/slots/slots.component.ts
@@ -5,7 +5,7 @@ import { KeyValuePipe, NgClass, UpperCasePipe } from '@angular/common';
import { FormsModule } from '@angular/forms';
interface SlotResult {
- status: 'win' | 'lose';
+ status: 'win' | 'lose' | 'blank' | 'start';
amount: number;
resultMatrix: string[][];
}
@@ -21,8 +21,8 @@ export default class SlotsComponent implements OnInit {
private httpClient: HttpClient = inject(HttpClient);
slotInfo = signal | null>(null);
slotResult = signal({
- status: 'lose',
- amount: 12,
+ status: 'start',
+ amount: 0,
resultMatrix: [
['BAR', 'BAR', 'BAR'],
['SEVEN', 'SEVEN', 'SEVEN'],