feat: add starting stuff
All checks were successful
CI / Get Changed Files (pull_request) Successful in 7s
CI / Docker frontend validation (pull_request) Successful in 15s
CI / Checkstyle Main (pull_request) Has been skipped
CI / Docker backend validation (pull_request) Successful in 1m7s
CI / oxlint (pull_request) Successful in 25s
CI / eslint (pull_request) Successful in 32s
CI / prettier (pull_request) Successful in 24s
CI / test-build (pull_request) Successful in 42s
All checks were successful
CI / Get Changed Files (pull_request) Successful in 7s
CI / Docker frontend validation (pull_request) Successful in 15s
CI / Checkstyle Main (pull_request) Has been skipped
CI / Docker backend validation (pull_request) Successful in 1m7s
CI / oxlint (pull_request) Successful in 25s
CI / eslint (pull_request) Successful in 32s
CI / prettier (pull_request) Successful in 24s
CI / test-build (pull_request) Successful in 42s
This commit is contained in:
parent
fd7c3b3503
commit
201b305fe0
1 changed files with 3 additions and 3 deletions
|
@ -5,7 +5,7 @@ import { KeyValuePipe, NgClass, UpperCasePipe } from '@angular/common';
|
||||||
import { FormsModule } from '@angular/forms';
|
import { FormsModule } from '@angular/forms';
|
||||||
|
|
||||||
interface SlotResult {
|
interface SlotResult {
|
||||||
status: 'win' | 'lose';
|
status: 'win' | 'lose' | 'blank' | 'start';
|
||||||
amount: number;
|
amount: number;
|
||||||
resultMatrix: string[][];
|
resultMatrix: string[][];
|
||||||
}
|
}
|
||||||
|
@ -21,8 +21,8 @@ export default class SlotsComponent implements OnInit {
|
||||||
private httpClient: HttpClient = inject(HttpClient);
|
private httpClient: HttpClient = inject(HttpClient);
|
||||||
slotInfo = signal<Record<string, number> | null>(null);
|
slotInfo = signal<Record<string, number> | null>(null);
|
||||||
slotResult = signal<SlotResult>({
|
slotResult = signal<SlotResult>({
|
||||||
status: 'lose',
|
status: 'start',
|
||||||
amount: 12,
|
amount: 0,
|
||||||
resultMatrix: [
|
resultMatrix: [
|
||||||
['BAR', 'BAR', 'BAR'],
|
['BAR', 'BAR', 'BAR'],
|
||||||
['SEVEN', 'SEVEN', 'SEVEN'],
|
['SEVEN', 'SEVEN', 'SEVEN'],
|
||||||
|
|
Reference in a new issue