feat: add bare slots frontend, remove bun start warnings (CAS-61) #164

Merged
ptran merged 8 commits from slots-frontend into main 2025-05-07 12:32:53 +00:00
Showing only changes of commit 201b305fe0 - Show all commits

View file

@ -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<Record<string, number> | null>(null);
slotResult = signal<SlotResult>({
status: 'lose',
amount: 12,
status: 'start',
amount: 0,
resultMatrix: [
['BAR', 'BAR', 'BAR'],
['SEVEN', 'SEVEN', 'SEVEN'],