Merge remote-tracking branch 'origin/main'
This commit is contained in:
@@ -28,7 +28,11 @@ export interface ActiveGamePlayData {
|
||||
turnSequence: string[]; // Ordered array of player IDs based on turnOrder
|
||||
websocketRoom: string;
|
||||
gamePhase: 'starting' | 'playing' | 'paused' | 'finished';
|
||||
<<<<<<< HEAD
|
||||
boardData: BoardData; // Generated board with fields
|
||||
=======
|
||||
boardData: BoardData; // Generated board with fields and border
|
||||
>>>>>>> 83fad59878db015ec8d86bdec1ecbbca0baddfd2
|
||||
}
|
||||
|
||||
export interface GameStartResult {
|
||||
@@ -362,7 +366,13 @@ export class StartGamePlayCommandHandler {
|
||||
logOther(`Board data found for game ${gameId}`, {
|
||||
generationComplete: boardData.generationComplete,
|
||||
hasError: !!boardData.error,
|
||||
<<<<<<< HEAD
|
||||
fieldsCount: boardData.fields ? boardData.fields.length : 0
|
||||
=======
|
||||
fieldsCount: boardData.fields ? boardData.fields.length : 0,
|
||||
borderLength: boardData.border ? boardData.border.length : 0,
|
||||
totalErrorRate: boardData.totalErrorRate
|
||||
>>>>>>> 83fad59878db015ec8d86bdec1ecbbca0baddfd2
|
||||
});
|
||||
|
||||
if (boardData.generationComplete) {
|
||||
@@ -372,7 +382,13 @@ export class StartGamePlayCommandHandler {
|
||||
}
|
||||
|
||||
logOther(`Board generation completed for game ${gameId}`, {
|
||||
<<<<<<< HEAD
|
||||
fieldCount: boardData.fields.length,
|
||||
=======
|
||||
errorRate: boardData.totalErrorRate,
|
||||
fieldCount: boardData.fields.length,
|
||||
borderLength: boardData.border.length,
|
||||
>>>>>>> 83fad59878db015ec8d86bdec1ecbbca0baddfd2
|
||||
waitTime: Date.now() - startTime
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user