feat(SCOPONE-0009): complete iteration 0 dealer AI

This commit is contained in:
Giancarmine Salucci
2026-04-08 21:50:40 +02:00
parent c9accb7ae4
commit d0a44d295a
7 changed files with 597 additions and 174 deletions

View File

@@ -14,6 +14,8 @@ export interface Capture {
export type PlayerIndex = 0 | 1 | 2 | 3;
export type DealerRelativeRole = 'first-hand' | 'second-hand' | 'third-hand' | 'dealer';
export type Difficulty = 'beginner' | 'advanced' | 'master';
export interface Player {
@@ -29,6 +31,7 @@ export interface GameState {
players: [Player, Player, Player, Player];
table: Card[];
matchStartingPlayer: PlayerIndex;
dealer: PlayerIndex;
currentPlayer: PlayerIndex;
roundOver: boolean;
gameOver: boolean;